Active Questions
Calendar stuck in loading
Hi... I am not sure this is a bug, but I have a DayPilotCalendar in an UpdatePanel and bound to an EntityDataSource. When I initially load the page, it appears correctly. When I change its StartDate ...
Bubble + Traditional Theme
Answered: Seems to be fixed in the sandbox version: http://www.daypilot.org/sandbox/Scheduler/ThemeSilver.aspx
How to add additional data in day pilot event
Answered: Hi krishnan, The event source object (from DataSource) is available in BeforeEventRender event handler as e.DataItem (e.DataItem.Source). Example:
protected void DayPilotCalendar1_BeforeEventRe...
System.Exception: Unsupported escape sequence
I just started to test DayPilot....if I want to set a new Event, I always get an exception in this line: page.Response.Write("parent.DayPilot2.ModalStatic.result = " & DayPilot.Web.Ui.Json.SimpleJson...
Display more event data
I want to display more event data along with name, start, end... in DayPilot Pro Calendar Let say I've two more fields in datasource [Description and location], now I want to show it with other detai...
How to show the different color for each type of Event (MVC doen't have e.DataItem)
Answered: It's now available in build 5528. See the sandbox: http://mvc.daypilot.org/sandbox/
Problem with TimeRangeDoubleClickJavaScript in Chrome Browser
Answered: This should be fixed now in build 2866. You can download it in the sandbox: http://www.daypilot.org/sandbox/
Refreshing of Daypilot Schedulter
Answered: After clearing the resources, it is necessary to call full update:
dpsReservations.Update(CallBackUpdateType.Full);
Please let me know if it didn't help.
Set click event
Answered: On the server side: DayPilotScheduler1.EventClickHandling="JavaScript"; DayPilotScheduler1.EvenClickJavaScript="dps1.eventMenuClickPostBack(e, 'Command')";
Events not rendering in Scheduler
Answered: Please check the following guide: http://kb.daypilot.org/101644/events-not-showing-up-in-the-scheduler/ The most important thing to check is that the resource id (Resource.Value) matches the resource...
DayPilot
Answered: I assume you mean the events (coming from DataSource), not the background cells (the matrix). To fire the client-side EventClick event, call this:
dps1.onEventClick(e);
e is the DayPilot.Event ob...
IE 8 slow loading Calendar on Post-Back
Hi, we have an application that uses 6.9 pro with the webforms calendar and every time the page is posted back i.e. changing a date, the calendar takes a long time to render. Surprisingly the longest...
Set up a calendar using VB.Net and a SQL Server database
Answered: See also http://code.daypilot.org for tutorials with sample source code (C# and VB.NET). Examples that use the calendar and SQL Server (ASP.NET WebForms): Shift scheduling tutorial http://code.daypil...
JavaScript runtime error: Object doesn't support this property or method
Answered: This was a bug in DayPilot.puc(). It only happens if you have an element with id="l" on your page and open it in IE. See also: http://stackoverflow.com/questions/5647299/ie-error-object-doesnt-suppor...
How to change the data format in daypilot shechduler control
Answered: DayPilot is loading the event start and end dates using a code similar to this:
string strStart = DataBinder.GetPropertyValue(dataItem, DataStartField, null);
if (!DateTime...
Changing date format in DayPilot lite schedular in header
Answered: The Lite version of the Scheduler doesn't support changing the date format in the header. It will always show the day number for CellDuration >= 1440. If you want to display something else you will h...
DayPilotNavigator and updatepanel, DropDownList1_SelectedIndexChanged Error: JScript runtime
Answered: This bug is fixed now in build 7.3.2854. You can download it in the sandbox: http://www.daypilot.org/sandbox/ Please let me know if there is any problem.
Undefined resourcecolumn
Answered: This is fixed now in build 2853: http://www.daypilot.org/sandbox/ The fix will be included in the next release. Thanks for reporting the bug!
highlight bank holidays in scheduler
Answered: 1. First you need the holiday data. 2. Add a BeforeCellRender event handler. This event is called once for each time cell. You should check the cell date (e.Start, e.End) here and compare it with the...