ASPxClientCallback.CallbackComplete Event
Fires on the client side when a callback initiated by the client ASPxClientCallback.PerformCallback method and processed within the server ASPxCallback.Callback event’s handler returns back to the client.
#Declaration
CallbackComplete: ASPxClientEvent<ASPxClientCallbackCompleteEventHandler<ASPxClientCallback>>
#Event Data
The CallbackComplete event's data class is ASPxClientCallbackCompleteEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
parameter | Gets a string that contains specific information (if any) passed from the client side for server-side processing. |
result | Gets a string that contains specific information (if any) that has been passed from the server to the client side for further processing. |
#Remarks
The CallbackComplete event allows you to process a callback, which has been sent via the client ASPxClientCallback.PerformCallback method and then processed with the server ASPxCallback.Callback event.
Use the ASPxClientCallbackCompleteEventArgs.parameter property to obtain specific client information that has been sent to the server by the ASPxClientCallback.PerformCallback method. The ASPxClientCallbackCompleteEventArgs.result property provides the result of the server-side callback processing.
#Example
Web Forms:
Note
For a full example, refer to the How to implement a single cell editing feature in the ASPx
<dx:ASPxGridView ID="ASPxGridView1" runat="server" ClientInstanceName="grid" Width="100%"
KeyFieldName="ID">
<ClientSideEvents BatchEditEndEditing="onBatchEditEndEditing" />
<Columns>
...
</Columns>
</dx:ASPxGridView>
<dx:ASPxCallback ID="ASPxCallback" runat="server" ClientInstanceName="callback" OnCallback="ASPxCallback_Callback">
<ClientSideEvents CallbackComplete="onEndUpdateCallback" />
</dx:ASPxCallback>