Skip to main content
All docs
V18.2

ASPxClientReportViewer.CallbackError Event

Fires on the client if any server error occurs during server-side processing of a callback sent by ASPxClientReportViewer.

Namespace: DevExpress.XtraReports.Web.Scripts

Assembly: DevExpress.XtraReports.v18.2.Web.Scripts.dll

Declaration

public event ASPxClientCallbackErrorEventHandler CallbackError

Event Data

The CallbackError event's data class is DevExpress.Web.Scripts.ASPxClientCallbackErrorEventArgs.

Remarks

The CallbackError event enables you to properly respond to a server error occurring as a result of a callback being processed on the server side. Handle this event to perform specific client-side actions, such as displaying explanatory text or an image related to the error.

Typically, a server error which occurs during server-side processing of a callback, leads to web application hanging, because, in this case, no proper response is generated for a control that initiated the callback. However, AJAX-enabled web controls from the DevExpress product line are able to automatically catch server errors occurring within handlers of their server-side events, and to pass the related error information to the client for further processing through the CallbackError event’s argument.

To learn more, see the Handling Callback Exceptions on Client topic.

See Also