DayPilot.Scheduler.eventClickPostBack

The eventClickPostBack() method invokes the server-side click handler using a PostBack.

This only applies to ASP.NET WebForms.

Declaration

DayPilot.Scheduler.eventClickPostBack(e, data)

Parameters

  • e (DayPilot.Event) - target object

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

Notes

This is a legacy server-side helper for ASP.NET WebForms Scheduler integrations.

Use the data parameter to include custom values with the PostBack request.

Example

const e = dp.events.find(1);
dp.eventClickPostBack(e, { source: "custom-button" });

See Also

DayPilot.Scheduler Class