ASPxClientSpreadsheet.BeginCallback Event
Occurs when a callback for server-side processing is initiated.
Declaration
BeginCallback: ASPxClientEvent<ASPxClientBeginCallbackEventHandler<ASPxClientSpreadsheet>>
Event Data
The BeginCallback event's data class is ASPxClientBeginCallbackEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
command | Gets a command name that identifies which client action initiated a callback. |
Remarks
The BeginCallback event, together with the ASPxClientSpreadsheet.EndCallback event, can be used to perform specific client-side actions (for example, to display and hide an explanatory picture) while a callback is being processed on the server side.
Note
The spreadsheet sends most requests via internal handler and does not raise the BeginCallback and EndCallback events for performance reasons. It is recommend to use server events in the spreadsheet because the major work with a document is accomplished on the server.
For example, handle the Saving event and use the JSProperties property to pass necessary data from the server to the client.