The eventMenuClickPostBack() method executes the server-side EventMenuClick handler for a context menu command on an event using a PostBack (ASP.NET WebForms).
Declaration
DayPilot.Month.eventMenuClickPostBack(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 trigger the server-side EventMenuClick handler from client-side code when you need to submit a context menu command using PostBack.
The command argument identifies the selected menu command, and data lets you include additional custom values in the request.
Example
dp.eventMenuClickPostBack(e, "Delete", { confirmed: true });
DayPilot