Skip to main content
A newer version of this page is available. .
All docs
V22.1

DxDocumentViewer.ReportName Property

Gets or sets a string that specifies the unique report name.

Namespace: DevExpress.Blazor.Reporting

Assembly: DevExpress.Blazor.Reporting.v22.1.JSBasedControls.dll

NuGet Package: DevExpress.Blazor.Reporting.JSBasedControls

Declaration

[Parameter]
public string ReportName { get; set; }

Property Value

Type Description
String

A string that identifies a report.

Remarks

The ReportName property specifies a string that the report name resolution services translate to return a report.

You can set ReportName property at runtime to refresh the Document Viewer content. When you change the ReportName property, the Document Viewer control does not re-render, it only reloads the report.

Use Report Name Resolution Services

IWebDocumentViewerReportResolver
Allows you to parse a report name, create a report instance, and return it to the calling method. If you have a parameterized report, you can specify parameters in the report name passed to the service and use parameters within the report’s constructor.

Note

The IWebDocumentViewerReportResolver service does not support asynchronous mode.

ICachedReportSourceWebResolver
Returns an instance of CachedReportSourceWeb. The ICachedReportSourceWebResolverAsync service allows you to build a document asynchronously.
IReportProvider
This service has lower priority than previously mentioned services (and is not intended for exclusive use by the Document Viewer). The primary advantage of IReportProvider service is that it can be attached to reports created at runtime. IReportProviderAsync uses asynchronous operations.
ReportStorageWebExtension
This service is called when no other report name resolution services are available. It is designed to obtain reports (stored in our REPX format) from external storage (a file or a database). Note that the GetData method returns a serialized report. If you use the GetData method to specify the default parameter value for a loaded report, set the Value property to the parameter value.
See Also