The eventRightClickPostBack() method executes the server-side EventRightClick handler using a PostBack (ASP.NET only).
DayPilot.Calendar.eventRightClickPostBack(e, data)e (DayPilot.Event) - reference to the calendar event
data (object) - custom data to be sent to the server-side event handler
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.
const e = calendar.events.find("123");
calendar.eventRightClickPostBack(e, { source: "manual" });