Hi I want to pass the data from partial view to controller My Partial view Code @Html.Label("Area" , new { @class = "control-label" }) @Html.TextBoxFor(model => model.Area, new { @class = "form-contr...
Answered: Yes. There are two options: 1. You can turn off individual actions using the *Handling properties. Example: dp.eventClickHandling = "Disabled"; dp.eventMoveHandling = "Disabled"; 2. You can also disp...
Answered: The start of the selection is available in "start" variable in TimeRangeSelectedJavaScript. It is a DayPilot.Date object. TimeRangeSelectedJavaScript = "document.location='Bokabord2?startingtime=' + ...
Answered: I recommend relying on the Navigator to request the events using the standard mechanism: 1. Let the "Next" button change the navigator only: <a href="#" id="next">Next</a> <script> $("#next").click(f...
Answered: There is a built-in element ("loading label") that will be displayed if a callback takes more than about 100ms. You can set the label HTML using LoadingLabelText property. It is displayed in the uppe...
Answered: It's quite possible that the version you are using doesn't support row filtering. As you can see in the documentation ( https://doc.daypilot.org/scheduler/row-filtering/ ) the row filtering is suppor...
Answered: It looks like you might be referring to this question: http://forums.daypilot.org/Topic.aspx/3066/increase-cell-width-based-on-number-of-events I understand the requirement but I'm afraid there is no...
Answered: When you specify the data source for the Gantt columns it will take the source data and display them using the default format. In case of DateTime fields, it is DateTime.ToString() method. This metho...
Answered: Unfortunately this scenario is not supported. You can define a custom timeline ( http://doc.daypilot.org/scheduler/timeline/ ) and set the column width as needed but the events will always be display...
Answered: You can find a working example of the "new event" modal dialog in the following tutorial: http://code.daypilot.org/59860/asp-net-mvc-5-event-calendar The calendar is configured to display the modal d...
Answered: Which version of DayPilot do you use? One of the recent sandbox builds had a bug which had symptoms like this. It is fixed in the latest release (8.1.5819): http://mvc.daypilot.org/demo/Scheduler/ Le...
Answered: If you open developer tools in Chrome (Ctrl-Shift-I) and reload the page you will see all AJAX requests in the Network tab. You should be able to check: 1. If the request has been made 2. What is the...
Answered: In ASP.NET MVC you can request a server-side refresh using Command event handler. 1. Store the filter (the selected user) in the clientState property and invoke the Command event handler: var selecte...
Answered: You can switch to "Notify" event handling to make it faster. If you use EventResizeHandling = CallBack the sequence is as follows: 1. The user finishes resizing. 2. The calendar/scheduler sends a req...
Answered: There is now a new guide on row selecting available in the documentation: http://doc.daypilot.org/gantt/row-selecting/ The latest sandbox build (8.1.5816) fixes a few related issues (such as the miss...
If I am creating a new appointment, then the day daypilot scheduler is creating a new row automatically as shown in the attached image. But it is not occuring in every time. Is it a bug? How to fix i...
Answered: You can do this using UseEventBoxes=Never option: http://doc.daypilot.org/scheduler/exact-event-duration/ Just note that this is not DayPilot Lite, but DayPilot Pro. I'm removing the "lite" tag.
Answered: The latest DayPilot Pro for ASP.NET MVC version (8.1) includes an auto-detection mechanism that waits until the Scheduler becomes visible and fixes the layout. It looks like you might be using an old...
Answered: If you load the data from the same source and update the source correctly both instances should display the same data. If you want to force an update from the client side you can use dp.commandCallBa...
Answered: It looks like an old DayPilot.Mvc.dll is cached somewhere. The latest version of DayPilot.Mvc.dll (8.1.5813) works with client script version 1944. Client script version 707 is used by build 7.7.5654.
Answered: When you initialize a Scheduler that is in a hidden part of a page (like in case of a hidden tab) it is not possible to initialize the dimensions properly (all dimensions returned by the browser are ...
Answered: Normally the time range selection gets cleared if you call Update() on the server side. If you don't do that for some reason you need to switch to JavaScript event handling and clear it manually: Tim...
Answered: The next MVC version (8.2) will include client-side PNG export support. You can create the PDF on the client side using jsPDF ( http://mrrio.github.io/jsPDF/ ). It will let you insert the exported PN...
Answered: The parent resources don't display events that belong to the child resources. However, a resource will display events that belong to another resource if: the resource ID is the same the resource ID i...
Answered: It might be necessary to define the object items as properties rather than simple fields: public class DayPilotEvent { public string SysId { get; set; } public DateTime AssignedDate { get; set; } pub...