Skip to main content

ASPxReportDesigner.OpenReport(String) Method

Opens the report specified by its string identifier.

Namespace: DevExpress.XtraReports.Web

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

NuGet Package: DevExpress.Web.Reporting

Declaration

public void OpenReport(
    string reportUrl
)

Parameters

Name Type Description
reportUrl String

A String that identifies a report.

Remarks

The ASPxReportDesigner uses report name resolution services to obtain a report by name.

If you pass a string identifier to the OpenReport method, you should implement and register one of the following services to translate a name to a report instance.

IReportProvider
Allows you to implement a service that resolves a report name to a report instance.
IReportProviderAsync
Allows you to implement a service that asynchronously resolves a report name to a report instance.
ReportStorageWebExtension
A report storage for Web Reporting. The service is called when no other report name resolution services are available. It is designed to get reports from external storage (a file or a database) where they are saved in XML serialized format.

Review the following topics for more information:

The following code snippets (auto-collected from DevExpress Examples) contain references to the OpenReport(String) 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