Skip to main content
A newer version of this page is available. .

ASPxClientScheduler.EndCallback Event

Occurs on the client side after a callback’s server-side processing has been completed.

Declaration

EndCallback: ASPxClientEvent<ASPxClientEndCallbackEventHandler<ASPxClientScheduler>>

Event Data

The EndCallback event's data class is ASPxClientEndCallbackEventArgs.

Remarks

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.

Example

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.

See Also