The requested page is not available for the requested platform. You are viewing the content for Default platform.

DataSourceBase.EnableAsyncLoading Property

Specifies whether or not the asynchronous report data source loading is enabled.

Namespace: DevExpress.Persistent.Base.ReportsV2

Assembly: DevExpress.Persistent.Base.v19.1.dll


public static bool EnableAsyncLoading { get; set; }
Public Shared Property EnableAsyncLoading As Boolean

Property Value

Type Description

true, if the asynchronous report data source loading is enabled; otherwise, false.


The data is loaded in reports in the separate thread by default. When data for a report is loaded simultaneously with data from an another thread and XPObjectSpaceProvider works in a non-thread-safe manner, the "Reentrancy or cross thread operation detected" exception can occur. You can use the XPObjectSpaceProvider instance in a thread-safe manner passing true as the last argument of its constructor. If using of the thread-safe XPObjectSpaceProvider is not possible in your application, disable asynchronous data loading in the reports setting the EnableAsyncLoading property to false.

See Also