Answered: This error doesn't seem to be related to DayPilot. It looks like you might be using HtmlLink control with a path which the control is unable to resolve: HtmlLink myHtmlLink = new HtmlLink(); myHtmlLi...
Answered: You can use DayPilot.DateUtil.daysDiff() helper method: DayPilot.DateUtil.daysDiff("2016-06-09", "2016-06-10"); The arguments can be passed as strings (they will be parsed using DayPilot.Date constru...
Answered: If you store the resource status in dp.resource[].tags object you will be able to access it like this: dp.resources = [ { name: "Resource 1", id: 1, tags : {disabled: true } } ]; // ... dp.onTimeRang...
Answered: The following config disables selecting a time range using right mouse button: dp.timeRangeRightClickHandling = "Disabled"; dp.onGridMouseDown = function(args) { var button = DayPilot.Util.mouseButto...
Answered: The output under the "DayPilot MVC" section in your sample image is what I would expect to see. This is how it is designed to work - the second time header row displays days and it starts and ends at...
Answered: You need to change "dp.events" to "dp.events.list": dp.events.list = [{text: "Busy", start: "2013-03-24T03:00:00", end: "2013-03-24T05:00:00", id: 10, resource: "B"}]; See also: https://doc.daypilot....
Answered: You might want to check the "Auto Cell Width" feature which adjusts the cell width to fill the available space (there will be no horizontal scrollbar): https://doc.daypilot.org/scheduler/auto-cell-wi...
In my ASP.NET MVC application, I am using a DayPilotScheduler. If anyone is trying to move the event, then it has to display a loading symbol. So what I have done is, In my HTML code, I have added, E...
Answered: Dave, If you open the TutorialHotel.sln file and change the following line (#2): # Visual Studio 2012 to # Visual Studio 2010 it should work.
Sir, In my ASP.NET MVC application, I have added a tab control with 2 tab items in a view. Both the tab items contains 2 different daypilotscheduler objects. The problem is, when I start my applicati...
Answered: Sorry for the delay - a couple of changes were necessary so it took a bit longer. Instead of using the default behavior which is defined using .rowClickHandling="Select" you can also add your own eve...
Answered: The MVC Hotel Reservation tutorial at https://code.daypilot.org/32389/asp-net-mvc-hotel-room-booking uses the following code to format the start and end date: ReservationController.cs: public ActionR...
Answered: It's possible to display resources on the horizontal axis with the Calendar control switched to "Resources" mode: https://doc.daypilot.org/calendar/resources-view/ Demo: http://javascript.daypilot.or...
Hi Dan and Team, I've seen in your forums, requests for supporting rules such as: "Recurring Events which occur on second Monday of the month".. http://forums.daypilot.org/search?q=events+x+monday ht...
Answered: At this moment the number of beds is not editable using the sample code. However, it's stored in the database (rooms.capacity field) so it shouldn't be difficult to add an option to edit it.
Answered: Since version 8.2 ( http://javascript.daypilot.org/daypilot-pro-for-javascript-8-2/ ) the scheduler supports "publish-as" attribute which lets you specify the target for the DayPilot.Scheduler object...
Answered: By default, the Scheduler displays a special overlay div over long time header cells during scrolling: http://doc.daypilot.org/scheduler/floating-time-headers/ It should copy the custom time header H...