DayPilot.Calendar.eventMovePostBack

The eventMovePostBack() method executes the server-side EventMove handler using a PostBack (ASP.NET only).

Declaration

DayPilot.Calendar.eventMovePostBack(e, newStart, newEnd, newResource, data)

Parameters

  • e (DayPilot.Event) - target event object

  • newStart (DayPilot.Date) - new event start

  • newEnd (DayPilot.Date) - new event end

  • newResource (string) - new resource id

  • data (object) - custom data to be sent to the server-side event handler

Notes

Use this legacy helper to trigger the server-side move pipeline from client-side code and pass the updated time range, target resource, and any custom data with the PostBack request.

Example

dp.eventMovePostBack(e, newStart, newEnd, newResource, data);

See Also

DayPilot.Calendar Class