Active Questions
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)...
AM/PM Incorrect on Event Header with "Clock12Hours" Setting
Answered: This bug is fixed now in the latest codebase. The fix will be included in the next release. Thanks for reporting the issue!
Disable cell selection
Answered: At this moment it's only possible to disable the cells for the whole row by marking it as parent using PreventParentUsage. See also: http://code.daypilot.org/34704/restaurant-table-reservation-tutori...
IE does not show correct BackgroundColor from BeforeEventRender
Answered: If you are using CssOnly="true" mode you should check the following question: http://forums.daypilot.org/Topic.aspx/1692/how-do-i-change-the-colors-of-the-event-headers-in-version-7 You may need to m...
I got an error .. " Unable to convert '' (from DataStartField column) to DateTime."
Answered: Steve is right: You should check the values in this column. It looks like one of the values is null. DayPilot uses the following code to get the DateTime value from the DataStartField column:
...
Is there any way to select over an exisiting block?
Answered: You can adjust the row height using RowMarginBottom and RowMinHeight properties: http://www.daypilot.org/scheduler-row-height.html
NavigateURL not opening in a new window
Answered: There was a bug - it's now fixed in build 7.1.2716. You can download it in the sandbox: http://www.daypilot.org/sandbox/ See also: http://www.daypilot.org/daypilot-pro-for-asp-net-webforms-7-2.html
Hide hours in schuduler mode
Answered: The Scheduler control (http://www.daypilot.org/scheduler.html) doesn't support hiding individual columns in the Lite version. In the Pro version, you can use BusinessBeginsHour, BusinessEndsHour, and...
DayPilotScheduler - Name of the event
Hello, First of all, I would congratulate developers of this solution, this is a very very nice component ! I am trying to use the scheduler in order to display some bookings in the wallchart. But my...
Use Duration Bar as "Percent Complete"
Answered: It's now implemented in the latest sandbox build (2662). See here: http://www.daypilot.org/sandbox/Scheduler/PercentComplete.aspx Use DurationBarMode = "PercentComplete" and e.PercentComplete = 50; i...
ASP.Net MVC3 -- How to update "StartDate" field from jQuery DatePicker control?
Answered: You should replace
dpc.startDate = newDateTime;
dpc.callBack2('Init');
with this:
dpc.commandCallBack("goto", { "start": start });
In the server-side OnCommand handler, detect e.Command ==...
How to Zoom out to year(s)
I have 10+ years of data and I am trying to Zoom way out in years. I am following the sample located here, http://forums.daypilot.org/Topic.aspx/454/how_to_achieve_the_zooming_feature_in_scheduler_co...