Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DataSourceBase.EnableAsyncLoading Property

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

Namespace: DevExpress.Persistent.Base.ReportsV2

Assembly: DevExpress.Persistent.Base.v24.2.dll

#Declaration

public static bool EnableAsyncLoading { get; set; }

#Property Value

Type Description
Boolean

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

#Remarks

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