DxDocumentViewer.ReportName Property
Gets or sets a string that specifies the unique report name.
Namespace: DevExpress.Blazor.Reporting
Assembly: DevExpress.Blazor.Reporting.v21.2.JSBasedControls.dll
NuGet Package: DevExpress.Blazor.Reporting.JSBasedControls
Declaration
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. 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.
- ICachedReportSourceWebResolver
- Returns the CachedReportSourceWeb instance. It has an asynchronous counterpart - the ICachedReportSourceWebResolverAsync service that allows you to build a document asynchronously.
- IReportProvider
- The 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.
- ReportStorageWebExtension
- 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 REPX format. Note that the GetData method returns a serialized report. If you use the GetData method to specify the default parameter value for the loaded report, set the Value property to the parameter value.
See Also