Report Viewer for Blazor Server (Native)
- 2 minutes to read
Quick Start
Review the following guides to create a Blazor reporting application with the Report Viewer (Native):
- Get Started with Blazor Reporting
- Add a Native Report Viewer to a Project (Blazor Application Created with .NET CLI)
- Add a Report Viewer to a Project (Blazor Server Application Created with a Visual Studio Template)
Interface Elements
The following help topic describes the Report Viewer’s user interface elements: Interface Elements - Report Viewer for Blazor.
Open a Report
Use the DxReportViewer.Report property to specify a report to open. To load a report at runtime, assign an object with the IReport interface (an XtraReport or a CachedReportSource instance) to the DxReportViewer.Report property.
The DxReportViewer.OpenReportAsync(IReport) method allows you to load a report asynchronously.
Review the following help topic for more information: How to Load a Report and Restore the Data Connection.
Click Print in the Toolbar to print the document.
The Report Viewer renders the report in PDF and invokes the browser Print dialog.
Export
Click Export To and select an export format from the list to download the report in the selected format.
Use the report’s ExportOptions property to specify the export options.
Customization
The DxReportViewer class allows you to manage the component in code and adjust the component settings and behavior.
Review the following help topic for more information: Customization - Report Viewer for Blazor (Native).
Localization
The DxBlazorReportViewerLocalizerLocalizationService class allows you to localize the Report Viewer UI at runtime.
For information on localization techniques for DevExpress Blazor components, refer to the following help topic: Localization.
Troubleshooting
The following article lists common issues that can occur in a Web Reporting application and describes solutions: Troubleshooting
For information on how to identify the cause of an issue, refer to the following topic: Reporting Application Diagnostics.