DayPilot.Scheduler.eventEditPostBack

The eventEditPostBack() method invokes the server-side EventEdit handler using a PostBack.

This only applies to ASP.NET WebForms.

Declaration

DayPilot.Scheduler.eventEditPostBack(e, newText, data)

Parameters

  • e (DayPilot.Event) - object reference

  • newText (string) - new event text

  • data (object) - additional custom data

Notes

This is a legacy server-side API used when inline event editing is submitted using PostBack.

In client-side Scheduler integrations, configure DayPilot.Scheduler.eventEditHandling and handle DayPilot.Scheduler.onEventEdit or DayPilot.Scheduler.onEventEdited instead.

Example

dp.eventEditPostBack(e, "Updated text", { source: "inline-editor" });

See Also

Sending Custom Data with CallBack

DayPilot.Scheduler.eventEditHandling

DayPilot.Scheduler.onEventEdit

DayPilot.Scheduler.onEventEdited

DayPilot.Scheduler Class