DayPilot.Month.eventClickCallBack

The eventClickCallBack() method executes the server-side EventClick handler using an AJAX callback (ASP.NET WebForms, ASP.NET MVC, Java).

Declaration

DayPilot.Month.eventClickCallBack(e[, data])

Parameters

  • e (DayPilot.Event) - object reference

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

Notes

Use this legacy helper to invoke the server-side EventClick handler from client-side code when DayPilot.Month.eventClickHandling uses server-side processing.

The optional data object lets you include additional values with the callback request.

Example

dp.eventClickCallBack(e, { source: "custom-button" });

See Also

DayPilot.Month.eventClickHandling

DayPilot.Month.onEventClick

DayPilot.Month.onEventClicked

DayPilot.Month Class