Active Questions
conflict detection still has some problems. Bug?
Answered: It's fixed now in build 7.1.2728: http://www.daypilot.org/sandbox/ See also: http://www.daypilot.org/daypilot-pro-for-asp-net-webforms-7-2.html The main algorithm requires a sorted list which was not...
Catch cell in doubleClick
Hi, I'm trying to block events clientside (doubleclick, to add an event) During the dps_BeforeCellRender, I place the cells to isBusiness (+ change CSS) Then i catch the event using the javascript fu...
Scheduler: Tree expand/collapse images
Answered: Yes, the size is hardcoded at this moment (10x10 px). It will be fixed in the next release.
error with recurrence exception
Hi all, When i try to read some recurrence exception event from database, i have this error: System.FormatException: La chaîne n'a pas été reconnue en tant que DateTime valide. à System.DateTimeParse...
Conflict detector ignore Recurring Events event in the DataTable?
Answered: The ConflictDetector API has been extended to handle recurring events in 7.1 release. http://www.daypilot.org/daypilot-pro-for-asp-net-webforms-7-1.html It's not used in the tutorial yet (the tutoria...
Pass Json to controller.js without using backend
We are currently pulling time records, validating those records. Then we call the "Backend" method in the Calendar controller in order to generate the daily calendars. I would like to by pass the Cal...
Scheduler and Sql Server
Answered: "I cannot see the database structure." http://www.daypilot.org/scheduler-tutorial.html The link above gives the DB structure as a script, which works fine in SQL Server. You'd then use the ADO.Net ob...
Getting OnBeforeEventRender to fire for Month
Answered: The event handler is invoked correctly but this call will not do anything, Response.Write() is not allowed there. You can check it by modifying the event: e.InnerHTML = "test"; e.BackgroundColor = "r...
Remove recurrence exception in scheduler
Answered: You can extract the original start date from the recurrence string using RecurrenceRule.DecodeStart():
DateTime originalStart = RecurrenceRule.DecodeStart(recurrenceString);
There are also other ...
EventFontSize does update font size if set from code-behind
Hi, I am using DayPilot version 6.4.2265.1 and I am coming up with event font size issue while setting it from code-behind. But when I set it from designer (.aspx) EventFontSize="14pt" it works. I wa...
TextBox in Resource column
Answered: If you insert the <input> element manually you won't be able to get its value easily on the server side - it won't be mapped automatically to a server-side control because it doesn't exist. You shoul...
Frameset issue with DayPilotBubble
Answered: Andrew, Could you please try build 2718 from the sandbox? http://www.daypilot.org/sandbox/ This issue should be fixed there. Please let me know if the problem persists.
Scheduler Tutorial: Hotel Room Booking. Left Resize doesn't work??? Right Resize works
Answered: It looks like there is a bug in the EventResize event handler. If you modify it like this it will work fine:
protected void DayPilotScheduler1_EventResize(object sender, DayPilot.Web.Ui.Events....
"The request must start in "JSON" string " error occur in asp.net mvc rezor c# schedule deleopment
Answered: Please see section #3 of the tutorial (3. MVC 3 Controller). There are two Actions that need to be created: Index (opens the view) Backend (backend for internal ajax callbacks) If you open the action...
Scheduler: Get events for a given resource
Answered: On the client-side, you can do the following:
var hasEvents = dps.findRowByResourceId("A").events.length > 0;
On the server side, there is no internal structure that keeps events matched to the r...
Scheduler: Dynamic Node Loading
Answered: The events have to be loaded in full (for all resources) - except of the dynamic loading mode (DynamicLoading="true") when the events loaded in the Scroll event handler are added to the existing even...
How to change width for first column in Timeline-View (DayPilotScheduler)
Answered: Try the RowHeaderWidth property.
Bug with getScrollableHeight into the scheduler.js
Answered: Thanks for reporting the bug. It's already fixed in the latest codebase and the fix will be included in the next release: http://java.daypilot.org/daypilot-pro-for-java-7-1/
How to show the different color for the different kind of activity
Answered: You can use BeforeEventRender event handler:
protected void DayPilotMonth1_BeforeEventRender(object sender, DayPilot.Web.Ui.Events.Month.BeforeEventRenderEventArgs e)
{
string status = (string)...