The eventMoveCallBack() method executes the server-side EventMove handler using an AJAX callback.
It only applies to ASP.NET WebForms, ASP.NET MVC and Java versions.
Declaration
DayPilot.Calendar.eventMoveCallBack(e, newStart, newEnd, newResource, data)Parameters
e(DayPilot.Event) - target event objectnewStart(DayPilot.Date) - new event startnewEnd(DayPilot.Date) - new event endnewResource(string) - new resource iddata(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 callback request.
Example
dp.eventMoveCallBack(e, newStart, newEnd, newResource, data);
DayPilot