Skip to main content
All docs
V24.2

ReportStorageWebExtension.GetUrlsAsync() Method

Returns a dictionary that contains the report names (URLs) and display names.

Namespace: DevExpress.XtraReports.Web.Extensions

Assembly: DevExpress.XtraReports.v24.2.Web.dll

NuGet Package: DevExpress.Web.Reporting.Common

Declaration

public virtual Task<Dictionary<string, string>> GetUrlsAsync()

Returns

Type Description
Task<Dictionary<String, String>>

A task that returns the dictionary of the existing report names (URLs) and display names.

Remarks

The GetUrlsAsync method returns a dictionary whose keys are URLs of all reports available in the current Report Storage, and whose values are the display names of these reports.

The Report Designer calls the GetUrlsAsync method in asynchronous mode to populate the report list before the Open Report and Save Report dialogs are shown, and after a new report is saved to a storage.

The GetUrlsAsync method is called when the application uses an asynchronous engine. To enable an asynchronous engine, call one of the following methods at the application startup:

ASP.NET MVC ASP.NET Core
DefaultWebDocumentViewerContainer.UseAsyncEngine, DefaultReportDesignerContainer.UseAsyncEngine ReportingConfigurationBuilder.UseAsyncEngine
See Also