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

Questions Tagged mvc

'DayPilot' is not defined

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

Error ao inicialzar

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

Error when multi moving while EventMoveHandling is set to notify

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

when click on even

when click on event how do I load event detail in pop up, now empty pop up shows up.

how to add Switching Day/Week View

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"; d...

Allocating a color to each event

Answered: Please see the documentation: https://doc.daypilot.org/month/event-customization/

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): https://doc.daypilot.org/scheduler/clientstate/ 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) ...

database

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 (https://doc.daypilot.org/scheduler/dynamic-resource-tree-loading/). ...

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: https://doc.daypilot.org/scheduler/time-range-multi-selecting/ 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...
mvc

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): https://mvc.daypilot.org/sandbox/Scheduler/ It will be included in th...

backend_delete

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

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? https://doc.daypilot.org/scheduler/event-deleting/

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

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: https://mvc.daypilot.org/daypilot-pro-for-asp-net-mvc-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);...
mvc

Event calendar

Answered: Maybe just a typo, it should be "locale": dp.locale = "fi-fi"; See also: https://api.daypilot.org/daypilot-calendar-locale/
Questions 1-30 of 365 Next