Questions Tagged how-to
Retrieve ResourceId when Resizing or Editing Calendar
How do I set and retrieve the ResourceId on the calendar just like I do the description, start, and end time? The resourceid on the "e" argument is always empty. Thanks
Invisible Events and Other Intriguing Questions
Is it possible to accomplish the following: In BeforeEventRender, is there a way I can choose to either have it NOT render the event OR give it an invisible background? In addition to the above, is t...
Double planned in times
Hello Dan, I read in the roadmap of the latest version that it is possible to prevent items form being planned in at the same time. Could you enlighten me how this is realised? I have another questio...
Hiding non-bussines days.
Hello Dan, Could you tell me how i can hide the non-bussiness days from the scheduler/calendar in the latest version? I havent found any documentation regarding this, it would help me alot. Thanks in...
Refresh Dynamic Scedular
Hi, I love the new dynamic schedular but how can i do a refresh to another week. it used to have a onrefresh property but the dynamic doesnt have one. javascript:dps1.refreshCallBack(7, null, 'new') ...
How to edit an event from a menu item.
I want to have an Edit menu item for an event. But how do I start the inline editing after selecting this item from the context menu? I prefer to not using JavaScript if possible.
How to retrieve free time from calendar
I would like to retrieve times on the calendar that have not been occupied by any events yet. Is there a way to do so? Thanks.
Duration Bar and event to have different times in Scheduler
Hi Dan, I was just wondering if it is possible to set a time for the Duration Bar and a Different time for the Event block? Reason I ask is because a lot of our locations have a setup time of which w...
ContextMenu Javascript action with Callback in Scheduler not working
Hi Dan, I have this unusal problem, I have followed the examples and also looked at you online demo code to but still having no success. The javascript only function works but the callback in the Jav...
Resource view for multiple days
Hi, How to display calendar control with resource view for more than 1 day. For ex, in the below demo website url, I wanted to display the meeting room A/B/C for 3 days. http://www.daypilot.org/demo/...
Scheduler with Date & Time
Hi, I have a scheduler control to list of all events for a specified start and end dates. I wanted to display the date as 1st row header, Hour as 2nd row header (ex, 9AM, 10AM) and mins as 3rd row he...
Drag and Drop Problem
When clicking on an external, draggableitem a new request with Request.Path=null is generated, and of coursea "file not found" exception occurs. Is this the normal behaviour or is there any solution ...
Drag and Drop Problem
When clicking on an external, draggableitem a new request with Request.Path=null is generated, and of coursea "file not found" exception occurs. Is this the normal behaviour or is there any solution ...
removing the CSS from the table cells and div tags
Hi I know there is a way to add a class and style the scheduler but is there a way to remove all the CSS from the table cells and div tags and place them into an external CSS file? Reason is there se...
Javascript eventMoveCallBack
Answered: If you write anything using Response.Write() during a CallBack it will corrupt the response. However, it should throw some kind of a JavaScript error on the client side, did you experience that? I wi...
BusinessBeginsHour & BusinessEndsHour - is it possible to have half hours?
Hi, I am just wondering if it is possible to have BusinessBeginsHour & BusinessEndsHour in periods depending on your Cell Duration? eg. CellDuration="15" BusinessBeginsHour="9" BusinessEndsHour="17:3...
dpc1.refreshCallBack & "Processing" message
It is possible to have a "Processing" message appear when a user selects a new date for the Calendar? It is hard to tell sometimes when the calendar has completed refreshing and loading of new days d...
Dynamically adding a Calendar Control Blues
I was attempting the solution offered in this article: http://forums.daypilot.org/Topic.aspx/118/how_to_create_dynamically_the_calendar In addition, I wanted to register some of the events. For examp...
How to pass javascript for client-side eval from DayPilot event (cont.)
Hi Dan, A shameless new thread since old ones tend to be overlooked: "You can use DayPilotCalendar.Update(data) method on the server-side to pass a custom parameter (data - a string or a Hashtable) t...
Building dynamic list of resources
Hi, How do I build a list of dynamic resources? I have put the code into the <resources> tags but I keep getting code can not be placed in here Thanks Tom
Javascript handler with callback.
I am attempting to do an Event move where the handler is in JavaScript that calls _ctl0_MainPageContent_schedule.eventMoveCallBack(eventArgs, newStart, newEnd, oldColumn, newColumn); I set up the con...
paint event
Hi 1.is there a way to paint all the event in colornot just the DurationBarColor? 2.how to mark a selected event in the calendar ? Thanks roiy
How to pass javascript for client-side eval from DayPilot event
Hi, I am combining DayPilot with Gaia. I need a way to either pass the viewstate to Gaia during a DayPilot callback, but if this isn't possible I need to pass javascript to the client for evaluation....
DayPilot and scriptmanager and update panel
i have a dypilot and a label(for example)inside an updatepanel. when i click on an event to change the text of the labelthe page makes a refresh, although i have an update panel. Why is it like that?
Events in the Calendar header
Dear Dan! In the OnLine Demo of the Calendar I see events in the header section. How can I create events like that? Is that possible to drag and drop them to the main section? Regards, Melitta
Resize a calendar event from JavaScript
Answered: It's now possible to modify the events on the client side and send the update to the server using the Notify model: http://www.daypilot.org/scheduler-client-side-event-operations.html
increase the DayPilotScheduler height
Hi How to resize the height of the DayPilotScheduler Height = 10 or Height = 1000 didnt change nothing Thanks
Hiding times that are non business days
Hello Dan, I was wondering if there is a way to render Daypilot so that it would only display the cells for business hours, ie from 8AM - 5PM and not 12AM to 11PM. It's a bit of a nitpick, but our cl...
Use Daypilot with Framework 3.5
Dear Dan, Today I have upgraded my system to visual stuio 2008 and .net framework 3.5. Everything works o.k except the item edit modalpopup's. When the item gets updated or the action gets canceled, ...
TimeRangeSelected click and context menu
Dear Dan! Currently I use a ContextMenu to handleTimeRangeSelected event like this: TimeRangeSelectedHandling="Hold"; ContextMenuSelectionID="DayPilotMenu1"; It works correctly, but I would like to r...