search envelope-o feed check
Home Unanswered Active Tags New Question

Questions Tagged mvc

Can you view more than one month/week with DaypilotLite?

Answered: Unfortunately it's not supported in the Lite version.

How do I make my DayPilot Month Calendar to be Read Only in Asp.Net MVC?

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"), EventMoveHandlin...

Row header click isn't working

Answered: The problem was because of "e" parameter, it shouldn't be there

additional parameters when using onLoadNode

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): Wh...

Edit Event does not fire in Chrome unless DevTools is started

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 ...

Resources expanded by default??

Answered: If you set DynamicChildren = true the Scheduler assumes that the children are not available and need to be loaded from the server ( ...

Book few rooms in one go

Answered: It's possible to select multiple time ranges at once if you enable time range multiselecting as described here: See also a demo (MVC ver...

Error while updating cell html after eventMove

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...

Custom data for Resources

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.

Dynamic resource columns in Scheduler

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...

Scheduler - Changing background color event of many event on click on once

Answered: Resolved

Update .timeHeaders doesn't work (with scheduler).

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...

No EventTapAndHoldHandling for Scheduler

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): It will be included in th...


Answered: Please take a look at the documentation: You need to use onEventDelete event handler to call backend_delete.php endpoint on the server side. You need...

error in dt.fill

project not running

Event Drag Shadow displaying in wrong Resource Column

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...

Event Calendar

Answered: Have you checked the docs?

DayPilot Pro for ASP.NET Core

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...

Gantt - Error: 'Bubble support is not implmented yet.'

Answered: This is a bug of the latest release (2018.1.5927). It's fixed now in version 2018.1.5936:

How to remove orange rectangle with text "DEMO" from month view of daypilot?

Answered: It looks like you have used DayPilot Pro (the paid version) in your project. 1. You can use DayPilot Lite (open-source) instead - but it doesn't include all Pro features: https://javascript.daypilot....

Calendar - area definition by Start() & End()

Answered: Petr, It's in the plan for the next release (coming in 14 days), please stay tuned!

How to disable daypilot popup

Answered: The modal popup is displayed by the default AJAX error handler (*AjaxErrorJavaScript* property): AjaxErrorJavaScript="if (DayPilot.Modal) { new DayPilot.Modal().showHtml(args.request.responseText);...

Event calendar

Answered: Maybe just a typo, it should be "locale": dp.locale = "fi-fi"; See also:


Answered: It looks like the following statement from jQuery throws the exception: return+new Date You should check if you don't override the default "Date" object in your code.

Error Javascript

Hello Dann, can help me with the following error, which is generated when I close the window create function close(result) { if (parent && parent.DayPilot && parent.DayPilot.ModalStatic) { parent.Day...

Uncaught String expected Error when export shceduler to jpeg

Answered: Please see a related question:

AreaCollection in Calendar

Answered: The active areas are supported in Calendar cells but only with fixed positioning using area.Left/Right/Top/Bottom. Positioning using area.Start and area.End is not supported at this moment.

The request must start with 'JSON' string.

I working on a web application written in ASP.NET MVC 5 with Razor. When i publish website in IIS it throws the error "The request must start with JSON string". Someone who can help me? My View: @Htm...

AutoRefresh Interval

Answered: 1. The default AutoRefreshMaxCount value is set to 20. That means it will stop calling the Refresh event after that number. This limit is introduced intentionally - calling any JavaScript code repeat...
Questions 1-30 of 359 Next