DayPilot.Calendar.eventRightClickPostBack

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

Declaration

DayPilot.Calendar.eventRightClickPostBack(e, data)

Parameters

  • e (DayPilot.Event) - reference to the calendar event

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

Notes

Use this method when you need to raise the server-side EventRightClick handler for a specific calendar event and include additional custom data with the request.

Example

const e = calendar.events.find("123");
calendar.eventRightClickPostBack(e, { source: "manual" });

See Also