DayPilot.Calendar.eventSelectCallBack

The eventSelectCallBack() method executes the server-side EventSelect handler using an AJAX callback.

It only applies to ASP.NET WebForms, ASP.NET MVC and Java versions.

Declaration

DayPilot.Calendar.eventSelectCallBack(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

This method raises the server-side EventSelect handler using an AJAX callback, passing the selected item in e and any custom payload in data.

Example

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

See Also