Occurs on the client side after a callback's server-side processing has been completed.
The EndCallback event handler receives an argument of the ASPxClientEndCallbackEventArgs type. The following properties provide information specific to this event.
|command||Gets a command name that identifies which client action forced a callback to occur.|
The ASPxClientScheduler.BeginCallback and EndCallback events can be used to perform specific client-side actions while a callback is being processed on the server side.
This example illustrates how to use the ASPxClientScheduler.EndCallback and ASPxScheduler.AllowAppointmentConflicts events. The illustrated approach overrides a predefined mechanism of calculating appointment conflicts. The predefined mechanism does not allow creating appointments with intersecting intervals for the same resource. The following code extends this mechanism and prevents creating appointments with intersecting intervals for the same locations (Classes). A custom error is passed to the client (for further display in an alert window) using the JS Properties mechanism.
In the ASPxClientScheduler.EndCallback event handler, the scheduler displays an alert window with a custom error which may occur during a callback request.