Active Questions
Reload single event from database
Answered: If you want to refresh the events it is better to use .events.list array instead of .events.add() method. Adding events one by one using .events.add() works too but it is slower (it refreshes the sch...
**Daypilot Month** set height some event
Answered: The event height in DayPilot Month can't be set individually. You can increase the event height using .eventHeight property (for all the events). Having custom height for individual events would prev...
How to change PerformDataBinding for changing the text displayed in text for Calendar?
Answered: You can use BeforeEventRender event to modify the event HTML as needed.
protected void DayPilotCalendar1_BeforeEventRender(object sender, DayPilot.Web.Ui.Events.Calendar.BeforeEventRenderEventArgs ...
Can you define a Long Weekend?
Answered: You can use DayPilotNavigator.BeforeCellRender event handler to add a custom CSS class to a day cell. http://doc.daypilot.org/navigator/cell-customization/ Note that in version 7.7 the CssClass value...
Conflict detector date comparison Bug
Answered: Please see here: http://forums.daypilot.org/Topic.aspx/1776/conflict-detection-still-has-some-problems-bug
How can i change the start date and end date dynamically by user selection
Answered: CommandCallback
BC30456: 'EventDetail_ItemUpdated' is not a member of 'ASP.web_app_daypilot_aspx'.
Answered: ok found it in the tutorial in the Default.aspx.vb file, my bad, thanks. Eunice
Changing Scheduler.CellGroupBy on runtime
Answered: Fixed it by adding "if (level == 0) groupBy = _scheduler.CellGroupBy;" to function "private TimeHeaderRow PrepareGroupline(int level)" in SchedulerTimeHeader.cs after line "GroupBy groupBy = _schedul...
setting cellBackColor after init doesn't work
Answered: This issue is fixed now in build 7.7.698 (see the sandbox): http://javascript.daypilot.org/sandbox/
Demo project does not launch with VS 2013
Answered: This turned out to be an issue of IIS Express that reports different values in request.Path and request.ApplicationPath. It's now fixed in build 1.3.401: http://mvc.daypilot.org/daypilot-lite-for-asp...
IE: Script error
Answered: This issue is now fixed in the latest sandbox build (7.7.3050): You can test it in the time headers demo which includes navigation buttons (previous/next): http://www.daypilot.org/sandbox/Scheduler/T...
Drag and Drop from table to Scheduler is working only for current date,Not working for selected date
Answered: This issue is fixed now in the latest sandbox build (7.7.5650): http://mvc.daypilot.org/sandbox/Scheduler/ExternalDragDrop The fix will be included in the next SP release.
Year View
Answered: Yes, there is a plan to add a year view based on the scheduler (http://doc.daypilot.org/scheduler). It will look like the timesheet mode (http://doc.daypilot.org/scheduler/timesheet/) but there will ...
month navigator - update to current date from next/previous link button
Answered: You can use .select() method of the navigator object on the client side: http://api.daypilot.org/daypilot-navigator-select/
Navigation
Answered: You can switch dates using .commandCallBack() method: MVC View
<div class="note">
<a href="javascript:dp.commandCallBack('previous');">Previous</a> |
<a href="javascript:dp.commandCallBac...
cancel an onEventMoved or onEventResized
Answered: Found the answer: hope this helps other people save some time //This gets called when the user drops the event dp.onEventMove = function (args) { //args.e is the event object that is being moved //ar...
How can i have 24 hour timeline on the Y-Axis and resource names on X-Axis
Answered: You will need to use the Calendar control switched to Resources mode: http://doc.daypilot.org/calendar/resources-view/ If you are going to display a lot of resources on the X axis of the calendar, yo...
Javascript Error
Hi, I am using the latest version of the Day Pilot control. When I am changing the week in the navigation control, a call back is done, but after that I am receiving a javascript error - var $C=eval(...
Daypilot Scheduler Lite
Answered: You can try 1. to remove [assembly: AllowPartiallyTrustedCallers] from DayPilot/Source/Properties/Assembly.cs (and recompile DayPilot) or 2. to add [assembly: AllowPartiallyTrustedCallers] to your dl...