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

Questions Tagged mvc

How can I update the view after changing the BackendURL property?

Answered: 1. There is a clientState property that lets you define custom state on the client side. That usually includes filtering criteria, such as user, event type, etc. You only need to set it on change on ...

How to filter characteristics of an event?

Answered: Please take a look at the clientState/ClientState properties that I have suggested here: https://forums.daypilot.org/question/4794/how-can-i-update-the-view-after-changing-the-backendurl-pro See also...

How can I remove the scroll?

Answered: Please see the height configuration options here: https://doc.daypilot.org/calendar/height/ The "BusinessHoursNoScroll" and "Full" values of HeightSpec will display the Calendar component without the...

How can I remove the demo tag?

Answered: You need to replace DayPilot.Web.Mvc.dll and daypilot-all.min.js files in your project with the ones from the full version zip file.

How can I make a filter per user?

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

Drag Drop events not working in IE 11

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

Client and Backend version mismatch

Answered: Hi Jozsef, Thanks for reporting the issue! It's fixed now in the latest sandbox build (2019.3.5988).

Week Calendar. How to have events of arbitrary length

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

How do I deploy daypilot light to my server?

Answered: Never mind. Just copied the dll to the bin folder for the website and voila it works.

'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...
Questions 1-30 of 374 Next