The requested page is not available for the requested platform. You are viewing the content for Default platform.

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 handler receives an argument of the ASPxClientEndCallbackEventArgs type. The following properties provide information specific to this event.

Property Description
command Gets a command name that identifies which client action forced a callback to occur.

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.

Examples

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