DayPilot.Calendar.eventEditCallBack

The eventEditCallBack() method invokes the server-side EventEdit handler using an AJAX CallBack.

Declaration

DayPilot.Calendar.eventEditCallBack(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 by ASP.NET WebForms, ASP.NET MVC, and Java integrations when inline event editing is submitted using CallBack.

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

Example

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

See Also

DayPilot.Calendar.eventEditHandling

DayPilot.Calendar.onEventEdit

DayPilot.Calendar.onEventEdited

DayPilot.Calendar Class