Allows you to provide data for the DashboardObjectDataSource in asynchronous mode.
public event DataLoadingEventHandler AsyncDataLoading
Public Event AsyncDataLoading As DataLoadingEventHandler
The AsyncDataLoading event's data class is DataLoadingEventArgs. The following properties provide information specific to this event:
|Data||Gets or sets data for the current data source.|
|DataSourceComponentName||Get the component name of the data source for which the event has been raised.|
|DataSourceName||Gets the name of the data source for which the event has been raised.|
|OverwriteDataSourceProperty||Specifies whether the DataSource and DataMember properties of the DashboardObjectDataSource are set when data is supplied in the event handler.|
|Parameters||Provides access to parameter values passed to the object data source.|
The AsyncDataLoading event is raised in asynchronous mode when the dashboard loads data from the DashboardObjectDataSource. Use the event parameter's e.Data property to provide data for this data source. The data object should implement the IEnumerable or IListSource interface.
You cannot access a control's properties such as the DashboardControl.Dashboard property through the AsyncDataLoading event because it receives data asynchronously from a background thread.