Skip to main content
A newer version of this page is available. .
All docs
V20.2

DxDocumentViewer.ReportName Property

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

Namespace: DevExpress.Blazor.Reporting

Assembly: DevExpress.Blazor.Reporting.v20.2.dll

NuGet Package: DevExpress.Blazor.Reporting

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

  • The IWebDocumentViewerReportResolver service allows you to parse a report name, create a report instance and return it to the calling method. When you have a parameterized report, you can specify parameters in the report name that is passed to the service, and use parameters in the report’s constructor.

  • The ICachedReportSourceWebResolver service returns the CachedReportSourceWeb instance. It has an asynchronous counterpart - the ICachedReportSourceWebResolverAsync service that allows you to build a document asynchronously.

  • The IReportProvider service has lower priority than the previously mentioned services. However, it is not intended for exclusive use by the Document Viewer. The main advantage of IReportProvider service is that it can be attached to reports created at runtime. The IReportProviderAsync service gives you the benefits of asynchronous operation.

  • The ReportStorageWebExtension 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 REPX format. You cannot apply parameters with this service because its GetData method returns a serialized report that is subsequently deserialized using a parameterless constructor.

See Also