Answered: You can add a custom constructor that will accept additional parameters: Action: public ActionResult Backend() { var userId = .... return new Dpc(userId).CallBack(this); } Dpc class: public class Dpc...
Answered: You can get the latest version of DayPilot Pro in the customer area (if you have an active maintenance subscription): https://www.daypilot.org/customers/ It looks like you are using DayPilot Pro for ...
Answered: In the Lite (open-source) version this is not supported but in the Pro version you can set the behavior using useEventBoxes property. Please see more here: https://doc.daypilot.org/calendar/exact-eve...
Answered: Please make sure that daypilot-all.min.js is loaded before the month control initialization code [@Html.DayPilotMonth("dp",....]. If the library is not loaded at that point it will generate an error ...
Answered: This is the URL of the backend controller (Calendar/backend) that handles the internal calls made by the client-side library. If you open it directly in the browser, you will receive an error because...
Hello, I am using DayPilot Scheduler MVC version 2019.1.5964 and I get an error when I'm trying to move multiple events while the EventMoveHandling of the Scheduler control is set to Notify: daypilot...
Answered: To switch the view, you just need to change the viewType value and call update(), like this: Switch to day view: dp.viewType = "Day"; dp.update(); Switch to week view: dp.viewType = "Week"; dp.update...
Answered: You can make it read-only by disabling the drag and drop actions one by one: @Html.DayPilotMonth("dpm", new DayPilotMonthConfig { BackendUrl = Url.Content("~/Home/Backend"), EventMoveHandling = DayPi...
Answered: If you need to get client-side state on the server side you can use clientState property to store it (typically it's used for storing filter rules): https://doc.daypilot.org/scheduler/clientstate/ Wh...
Answered: Fortunately, I found a workaround by using these JS events: dpc.onEventMove = function (e, newStart, newEnd) { eventChange(e, newStart, newEnd); }; dpc.onEventResize = function (e, newStart, newEnd) ...
Answered: In PHP, you can modify the backend scripts (backend_events.php, backend_create.php) to work with your database. The DB connection properties can be found in _db.php. The MVC version defines the data ...
Answered: If you set DynamicChildren = true the Scheduler assumes that the children are not available and need to be loaded from the server ( https://doc.daypilot.org/scheduler/dynamic-resource-tree-loading/ )...
Answered: It's possible to select multiple time ranges at once if you enable time range multiselecting as described here: https://doc.daypilot.org/scheduler/time-range-multi-selecting/ See also a demo (MVC ver...
Answered: Hi Simone, You should try to avoid the direct cell modification. The Scheduler supports OnBeforeCellRender event handler on the server side which will let you specify the cell content in a more decla...
Answered: The MVC version is designed to customize the rows on the server side (using DataItem and OnBeforeResHeaderRender) and at this moment there is no way to pass custom data to the client side.
I'm currently using DayPilot Pro for ASP.NET MVC: 8.1.5819.1. The objective is having 1 or 3 HeaderColumns depending on a parameter. In my cshtml I declared the following : "HeaderColumns = new RowHe...
Answered: In the MVC version, the time headers are generated on the server side and it's not possible to switch the view without calling the server. You can request an update using commandCallBack() method whi...
Answered: It looks like this option was missing in the Scheduler by accident. It's now available in the latest sandbox build (2018.2.5945): https://mvc.daypilot.org/sandbox/Scheduler/ It will be included in th...
Answered: Please take a look at the documentation: https://doc.daypilot.org/calendar/event-deleting/ You need to use onEventDelete event handler to call backend_delete.php endpoint on the server side. You need...
Answered: Thanks Dan! We have found the issue. There was a hidden "body { zoom: 80% }" in one of the libraries we used. Removing this solved the problem, and now we can make the correct changes to make everyth...
Answered: Yes, the special ASP.NET Core version of DayPilot is on hold at the moment. I recommend using the JavaScript version instead - it provides greater flexibility and control than the integrated server-s...