The eventMenuClickCallBack() method executes the server-side EventMenuClick handler for an event context menu command using an AJAX callback (ASP.NET WebForms, ASP.NET MVC, Java).
Declaration
DayPilot.Month.eventMenuClickCallBack(e, command[, data])Parameters
e(DayPilot.Event) - object referencecommand(string) - command namedata(object) - custom data to be sent to the server-side event handler
Notes
Use this legacy helper to invoke the server-side EventMenuClick handler for an event context menu command from client-side code.
The command argument identifies the selected menu item, and the optional data object lets you include additional values with the callback request.
Example
dp.eventMenuClickCallBack(e, "Delete", { confirmed: true });
DayPilot