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

Questions Tagged mvc

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/

Trouble

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

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

Uncaught String expected Error when export shceduler to jpeg

Answered: Please see a related question: https://forums.daypilot.org/Topic.aspx/4093/cannot-export-or-print-schedule-angularjs

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

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

Place the event on where we drag

Answered: When you click on a grid cell or select a range using drag and drop the Scheduler fires onTimeRangeSelect and onTimeRangeSelected events which you can use to create a new event at that location. See ...

Uncaught TypeError: Cannot read property 'args' of null at HTMLDocument.e.gMouseUp

Answered: This problem is fixed now in the latest sandbox build (8.4.5897): https://mvc.daypilot.org/sandbox/Calendar/ A new release will be available in a couple of days.

Red timeline shows wrong hour

My code: @Html.DayPilotCalendar("dp_day", new DayPilotCalendarConfig { BackendUrl = Url.Action("DayPlan", "Calendar"), ViewType = DayPilot.Web.Mvc.Enums.Calendar.ViewType.Day, ColumnMarginRight = 100...

Error return JavaScript(SimpleJsonSerializer.Serialize("OK"))

Answered: You can try sending a different JSON response. This code sends just a string: "OK" This was not considered a valid JSON text in the original JSON spec and older implementations (older browsers, o...

Daypilot Modal window issue - Responsive

Answered: At this moment, the modal dialog is not fully responsive. However, it adjusts itself according to the page so it doesn't overflow the current viewport. You can also adjust the position by setting the...

Wanted to implement Day Pilot Calender control using Anguler JS

Answered: Please see the AngularJS tutorials available at code.daypilot.org: https://code.daypilot.org/tag/angularjs That could be a good start for your application. You can customize the event depending on it...

How to remove the built-in delete icon from

Answered: You need to set EventDeleteHandling property of the config to "Disabled". Or remove it from the config - Disabled is the default value.
Questions 1-30 of 352 Next