DayPilot.Calendar.eventEditPostBack

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

Declaration

DayPilot.Calendar.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 JavaScript Calendar integrations, configure DayPilot.Calendar.eventEditHandling and handle DayPilot.Calendar.onEventEdit or DayPilot.Calendar.onEventEdited instead.

Example

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

See Also

DayPilot.Calendar.eventEditHandling

DayPilot.Calendar.onEventEdit

DayPilot.Calendar.onEventEdited

DayPilot.Calendar Class