ASPxClientDashboardViewer.DataLoadingError Event

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

Namespace: DevExpress.DashboardWeb.Scripts

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

Declaration

public event ASPxClientDashboardDataLoadingErrorEventHandler DataLoadingError
Public Event DataLoadingError As ASPxClientDashboardDataLoadingErrorEventHandler

The event handler receives an argument of the ASPxClientDashboardDataLoadingErrorEventHandler type.

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 or not 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