xtrareports-devexpress-dot-xtrareports-dot-web-dot-extensions-dot-reportstoragewebextension.md
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
public virtual Dictionary<string, string> GetUrls()
Public Overridable Function GetUrls As Dictionary(Of String, String)
| Type | Description |
|---|---|
| Dictionary<String, String> |
A dictionary of the existing report names (URLs) and display names.
|
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.
public override Dictionary<string, string> GetUrls() {
return base.GetUrls();
}
reporting-web-forms-handle-server-side-errors/CS/DXWebApplication1/ReportStorageWebExtension.cs#L46
public override Dictionary<string, string> GetUrls() {
return base.GetUrls();
}
reporting-web-forms-handle-server-side-errors/VB/DXWebApplication1/ReportStorageWebExtension.vb#L47
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