Questions Tagged how-to
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...
.NET 3.5 Update Panel
Hi I recently upgraded a project to .NET 3.5. Daypilot controls inside Updatepanels do not work anymore. Is there a fix for this? Regards Rohland
Update Calendar from UpdatePanel button and vice versa
Hi, just started to work with your trial, Love it!! some questions, let me first show you some code: <asp:UpdatePanel ID="uplEdit" runat="server" UpdateMode="Conditional"> <ContentTemplate> <asp:Lite...
Disallowing the user to drag/drop/resize appointments to nonbusiness days
Hello Dan, I'm trying to figure out how tograb the events that fire when the user drags/drops or resizes an appointment time. I need to know the new date and time range the user drag/drop or resized ...
Event Bubble
Is there a way to continue to display the event bubble for a set amount of time after the cursor move off the event.
Drag and Drop from a TextBox or Grid
Dear Dan! I'm trying to drag a text from a Textbox or Grid cell to the Calendar: <asp:TextBox ID=TextBox1 runat="server" onmousedown='return DayPilotCalendar.dragStart(this.Text, 60*30, "123", this.T...
How to use the BeforeCellRender Event
Hello Dan, Could you provide me with an example of how to call the BeforeCellRender event? I am trying to determine which dates are blocked/non business by traversing through each cell. I didn't see ...
Calendar Resource View with differing time increments
Using the Pro edition, if I have a calendar in resource view mode with, say 2 columns/resources, is it possible to have each column have a different time increment? For example, Column A uses 15 minu...
Show many days and allow scrolling horizontally
I've been able to get this control to do most things that our company will need but I don't see any way to allow horizontal scrolling through the days. What we need is the ability to show a large num...
Create an event with double-click
Hello, How can I create an event by double-clicking in the calendar ? Thanks !
Drag&drop from an external source
Dear Dan! Where can I find some code example about using this feature? Thank you
Selecting event > one day
Answered: Events spanning multiple days are divided into "event parts". If you click one of the event parts, all other related parts should be selected as well.
Event client object - Custom properties
Hi everybody.. I need to implement the right click behaviour when left clicking on an event. The problem is that i use different context menus according to some custom data of the event. Is there any...