Back to Devexpress

ReportStorageWebExtension.GetUrls() Method

xtrareports-devexpress-dot-xtrareports-dot-web-dot-extensions-dot-reportstoragewebextension.md

latest3.9 KB
Original Source

ReportStorageWebExtension.GetUrls() Method

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

Namespace : DevExpress.XtraReports.Web.Extensions

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

NuGet Package : DevExpress.Web.Reporting.Common

Declaration

csharp
public virtual Dictionary<string, string> GetUrls()
vb
Public Overridable Function GetUrls As Dictionary(Of String, String)

Returns

TypeDescription
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 snippets (auto-collected from DevExpress Examples) contain references 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.

reporting-aspnet-core-handle-server-side-errors/CS/DXAspNetCoreApp/Services/ReportStorageWebExtension1.cs#L49

csharp
public override Dictionary<string, string> GetUrls() {
    return base.GetUrls();
}

reporting-web-forms-handle-server-side-errors/CS/DXWebApplication1/ReportStorageWebExtension.cs#L46

csharp
public override Dictionary<string, string> GetUrls() {
    return base.GetUrls();
}

reporting-web-forms-handle-server-side-errors/VB/DXWebApplication1/ReportStorageWebExtension.vb#L47

vb
Public Overrides Function GetUrls() As Dictionary(Of String, String)
    Return MyBase.GetUrls()
End Function

See Also

Add a Report Storage (ASP.NET Web Forms)

ReportStorageWebExtension Class

ReportStorageWebExtension Members

DevExpress.XtraReports.Web.Extensions Namespace