Skip to main content
All docs
V24.1

IReportDesignerModelBuilder.Report(String) Method

Retrieves a report and passes it to the Web Report Designer.

Namespace: DevExpress.XtraReports.Web.ReportDesigner.Services

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

NuGet Package: DevExpress.Web.Reporting.Common

Declaration

IReportDesignerModelBuilder Report(
    string name
)

Parameters

Name Type Description
name String

A string that specifies the report to load in the Web Report Designer.

Returns

Type Description
IReportDesignerModelBuilder

A IReportDesignerModelBuilder that can be used to further configure the Report Designer.

Remarks

A string specified in this method is processed as follows:

  1. The method checks for the IReportProvider service. If the service is available, the method queries the service to get the report instance by the specified report’s unique name.

  2. If the IReportProvider service is unavailable, the string is passed to the ReportStorageWebExtension service.

One of the above services must be explicitly implemented and registered. Otherwise, an exception occurs. If only the IReportProvider service is available, the Web Report Designer cannot save a report, and the Save command is disabled.

See Also