DayPilot.Month.eventClickPostBack

The eventClickPostBack() method executes the server-side EventClick handler using a PostBack (ASP.NET WebForms only).

Declaration

DayPilot.Month.eventClickPostBack(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 when DayPilot.Month.eventClickHandling is set to PostBack.

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

Example

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

See Also

DayPilot.Month.eventClickHandling

DayPilot.Month.onEventClick

DayPilot.Month.onEventClicked

DayPilot.Month Class