ASPxClientGantt.CallbackError Event
Fires on the client if any server error occurs during server-side processing of a callback sent by the ASPxClientGantt.
Declaration
CallbackError: ASPxClientEvent<ASPxClientCallbackErrorEventHandler<ASPxClientGantt>>
Event Data
The CallbackError event's data class is ASPxClientCallbackErrorEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
handled | Gets or sets whether the event is handled and the default error handling actions are not required. |
message | Gets the error message that describes the server error that occurred. |
Remarks
Use the CallbackError event to respond to a server error occurring as a result of a callback processed on the server side. For example, you can display an explanatory text or an image related to the error.
Concept
Example
<dx:ASPxGantt ID="Gantt" ClientInstanceName="clientGantt" >
...
<ClientSideEvents CallbackError="function(s, e) {
...
} />
</dx:ASPxGantt>
See Also