Skip to main content
A newer version of this page is available. .
All docs
V20.2

ReportStorageWebExtension.GetUrlsAsync() Method

Returns a dictionary of the existing report URLs and display names.

Namespace: DevExpress.XtraReports.Web.Extensions

Assembly: DevExpress.XtraReports.v20.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 dictionary of the existing report URLs and display names.

Remarks

The GetUrls 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.

This method is called when running the Report Designer, 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