The eventSelectPostBack() method executes the server-side EventSelect handler using a PostBack (ASP.NET only).
Declaration
DayPilot.Calendar.eventSelectPostBack(e, data)Parameters
e(DayPilot.Event) - reference to the calendar eventdata(object) - custom data to be sent to the server-side event handler
Notes
Use this method when you need to trigger the server-side EventSelect handler using a PostBack and attach additional custom data to the request.
Example
const e = calendar.events.find("123");
calendar.eventSelectPostBack(e, { source: "manual" });
DayPilot