DayPilot.Month.eventMoveHandling

The eventMoveHandling property (string) specifies the default action that will be performed by the monthly calendar component when the users drops an event at the target location (see also event moving).

To disable drag and drop moving, set the value to "Disabled".

Possible Values

  • "Disabled" - event moving is not allowed

  • "Update" - updates the event position on the client side

Values applicable to editions with an integrated server-side part (ASP.NET WebForms, ASP.NET MVC, Java):

  • "PostBack" - fires EventMove using PostBack (ASP.NET WebForms)

  • "CallBack" - fires EventMove using CallBack (ASP.NET WebForms, ASP.NET MVC, Java)

  • "JavaScript" - api=1, fires onEventMove()

  • "Notify" - updates the event position on the client side, fires EventMove event (ASP.NET WebForms, ASP.NET MVC, Java)

Default Value

"Update"

Example

dps.eventMoveHandling = "CallBack";