An error occurred during loading data to a data source.
The DataLoadingError object is a container for the information related to the data loading error:
The DataLoadingError objects are available in the DataLoadingError event handlers.
The DataLoadingError events (e.g., DashboardDesigner.DataLoadingError, DashboardViewer.DataLoadingError, or DashboardControl.DataLoadingError) are raised when one or more errors occur during data loading. The Error dialog informs the end user about these errors:
In code, use the DataLoadingErrorEventArgs.Errors property to obtain a list of DataLoadingError instances.
To hide the Error dialog, set the DataLoadingErrorEventArgs.Handled property to true.
To handle connection errors, subscribe to the ConnectionError events.