Answered: Please take a look at the following tutorial: http://code.daypilot.org/59860/asp-net-mvc-5-event-calendar It shows how to use the Calendar control in MVC. It uses the Pro version but the same approac...
Answered: The following code will change the event color to gray if it it overlaps a weekend: protected void DayPilotScheduler1_BeforeEventRender(object sender, BeforeEventRenderEventArgs e) { for (DateTime da...
Answered: Unfortunately, the context menu is not available for the time range selection in the Month control at the moment (not even in the current release).
Answered: The Scheduler (with resources displayed as rows) is only available in the Pro version. It is only possible to display one row per resource. However, you can group multiple resources under a tree node...
Answered: If you used the the trial version of DayPilot Pro it is enough to replace the DayPilot.dll in you web application. The trial assembly version ends with .1 (e.g. 8.1.3452.1 for the latest release). Th...
I created a new Gantt design using the Theme Designer, put it into the same location as the other themes, created a <link> next to the other themes in my code and finally I tried to call it with "gan...
Answered: You need to modify the event CSS. An example for the default CSS theme (theme="scheduler_default"): .scheduler_default_event_inner { bottom: 2px !important; }
Answered: If you want to set the height to 100% of the parent element, you should use this: dp.heightSpec = "Parent100Pct"; Please note that this requires the parent element height to be set explicitly - see a...
Answered: Unfortunately minute precision for the calendar start is not supported in the Calendar at the moment. In the Scheduler you can create a custom timeline ( http://doc.daypilot.org/scheduler/timeline/ )...
Answered: This issue should be fixed now in the latest release (8.1.1821): http://javascript.daypilot.org/daypilot-pro-for-javascript-8-1-sp2/ Let me know if the problem persists.
Answered: The menu source object is available as "e" variable. In this case, it is the selection object which has three properties (start, end, resource): <DayPilot:MenuItem Action="JavaScript" Text="Neue Abwe...
I am rendering all daypilot events by ajax from server(the result is JSON) when i am trying to push it shows invalid time zone. For this i need to iterate all events convert to Daypilot date ,is ther...
Answered: The latest sandbox build (8.1.3450) now supports ScrollToTask(id) method. It lets you set the vertical scrollbar position using the specifeed task id. It works during the initial page load and also d...
I placed a gantt diagram inside an ajax update panel component from MS Visual Studio. An entry in context menu of a task should start a modal dialog. Action of this menu item is set to postback. But ...
Answered: You can override the task box text using BeforeTaskRender event handler: The following example will show the task text instead of the percentage: void DayPilotGantt1_BeforeTaskRender(object sender, B...
Answered: When changing the StartDate and Days properties you can use DayPilot.Web.Mvc.Utils.Year.Days() method to get the number of days for the given year. Example for switching to the following year: StartD...
Answered: You can change the navigator selection using .select() method: var nav = new DayPilot.Navigator("nav"); // ... nav.select(new DayPilot.Date()); // selects today
I'm getting and error since upgrading my app to .Net 4.51 when trying to create DayPilot. The error says I'm missing DateTime.cs. Is DayPilot compatible with .Net 4.51? Do you have any information ab...