Questions Tagged
Bubble + Traditional Theme
Answered: Seems to be fixed in the sandbox version: http://www.daypilot.org/sandbox/Scheduler/ThemeSilver.aspx
adding resources by vertical resizing
Answered: Hi Dennis, Unfortunately this is not possible at the moment - an event can only be displayed in one resources row. If you want to display it in multiple rows, you will need to have it twice in the da...
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...
Events rendering 1 day back
Answered: Please try using DateTime.Date when setting the new StartDate value, e.g.
protected override void OnCommand(CommandArgs e)
{
switch (e.Command)
{
case "navigate":
D...
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')";
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...
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...
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/
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/
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...
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...
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...
Binding Calendar Events to Backend Stored Procedure Dataset
Answered: These properties should actually hold the names of the fields/columns in the list: DataIdField = "RowNum" DataTextField = "Employee" DataStartField = "Annual_Leave_Day" DataEndField = "Annual_Leave_D...
How to use DayPilot Scheduler in SharePoint 2010 ?
Answered: Version 7.3.2844 doesn't call Assembly.GetName() (which requires IO permissions) anymore. You can download it in the sandbox: http://www.daypilot.org/sandbox/
Schedular not showing after deployment
Answered: Hi Dan, That works great! i'm happy to be able to see the scheduler again :D With kind regards, Wendel van Rheenen
Newest DayPilot Pro 7.3.2840.0 Resource calendar does not show events
Answered: We've discovered the same problem after upgrading to 7.3. The problem seems to occur in daypilot-calendar.js. If you have access to the source code, you can fix this manually in daypilot-calendar.src...
Newest DayPilot Pro 7.3.2840.0 does not bind multiple calendars on one page
Answered: This bug is fixed now, see also: http://forums.daypilot.org/Topic.aspx/1909/newest-daypilot-pro-7-3-2840-0-resource-calendar-does-not-s
Month - Changing event background colors
Answered: The CssClassPrefix property can be used to apply a css theme. All the internally used css classes will get prefixed by the value of CssClassPrefix. This makes the theme class names unique. Example: C...
Cell Duration mis-alignment
Answered: This looks like an interference with a global CSS. Try to limit the global styles so they don't apply to the div with DayPilot. Check especially table and td styles in the global stylesheet.
Change height
Answered: The control height is calculated automatically from the individual rows. The minimal row height is set using MinCellHeight property. In the row stacking mode (EventStackingMode="Row") the row height ...
How to display day, week, month and year view on selection of user choice?
Answered: The best way is to add one control for each of the views (day/week/month) and hide all except of one. 1. You can do this by simply wrapping them in a div with style="display:none" and change this pro...
Scheduler / CSS / Event Background Colours
Answered: This is caused by the CSS theme definition. Some of the themes (white, green) use a gradient background which is defined using "background" property. The e.BackgroundColor set in BeforeEventRender is...
Scheduler and StateServer
Answered: The serialization problems related to StateServer have been fixed in 7.3 release: http://www.daypilot.org/daypilot-pro-for-asp-net-webforms-7-3.html
AfterRender-Event MVC Calendar
Answered: Ok, I've found a solution. I overwrite the function in the document.ready. Example: $(document).ready(function () { dpCalendar.afterRender = function () { afterRenderCallback(); } });
Why does Calendar re-render after TimeRangeSelected event fires?
Answered: If you use TimeRangeSelectedHandling="JavaScript" it will only execute the the JavaScript defined in TimeRangeSelectedJavaScript (onTimeRangeSelected on the client side). The server-side TimeRangeSel...