Skip to main content
A newer version of this page is available. .

ASPxClientDashboardViewer.DataLoadingError Event

Provides the capability to handle data loading errors in the ASPxClientDashboardViewer.

Namespace: DevExpress.DashboardWeb.Scripts

Assembly: DevExpress.Dashboard.v18.2.Web.WebForms.Scripts.dll

Declaration

public event ASPxClientDashboardDataLoadingErrorEventHandler DataLoadingError

Event Data

The DataLoadingError event's data class is ASPxClientDashboardDataLoadingErrorEventArgs.

The event data class exposes the following methods:

Method Description
GetError() Allows you to obtain the displayed error message.
IsErrorMessageShown() Allows you to determine whether the error message will be shown.
SetError(String) Allows you to specify the displayed error message.
ShowErrorMessage(Boolean) Allows you to specify whether to show the error message.

Remarks

The DataLoadingError event allows you to handle data loading errors occurring on the client side. You can use the ASPxClientDashboardDataLoadingErrorEventArgs.IsErrorMessageShown method to determine whether the error message will be shown. The ASPxClientDashboardDataLoadingErrorEventArgs.ShowErrorMessage method allows you to specify whether to show the error message.

The ASPxClientDashboardDataLoadingErrorEventArgs.GetError/ASPxClientDashboardDataLoadingErrorEventArgs.SetError methods allows you to obtain or specify the error message.

See Also