Skip to main content

ReportStorageWebExtension.GetUrls() Method

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

Namespace: DevExpress.XtraReports.Web.Extensions

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

NuGet Package: DevExpress.Web.Reporting.Common

Declaration

public virtual Dictionary<string, string> GetUrls()

Returns

Type Description
Dictionary<String, String>

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

Remarks

The GetUrls method returns a dictionary whose keys are unique names of all reports available in the current Report Storage, and whose values are report display names.

The Report Designer calls the GetUrls method 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.

For a code example, create a new Web project from the DevExpress Visual Studio template and review the code for the CustomReportStorageWebExtension class in the Services folder..

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetUrls() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also