DxWasmDocumentViewer Class
A control that displays an interactive preview of a document generated from a report and allows the user to view, print, and export a report document in hosted Blazor WebAssembly apps.
Namespace: DevExpress.Blazor.Reporting
Assembly: DevExpress.Blazor.Reporting.v25.2.JSBasedControls.WebAssembly.dll
NuGet Package: DevExpress.Blazor.Reporting.JSBasedControls.WebAssembly
Declaration
Remarks
The Document Viewer is a component that displays an interactive preview of a document generated from a report that is designed on the DevExpress Reporting platform. The Document Viewer allows the user to view, print, and export the report document.
The Document Viewer is designed to display only DevExpress Reports. Our reports use the XML-based report file format, which is not compatible with third-party reporting applications. We offer a utility to convert third-party reports to DevExpress format. Refer to the following help topic for more information: Convert Third-Party Reports to DevExpress Reports.

The following code adds the DxDocumentViewer control to a page, and loads the TestReport report:
<DxWasmDocumentViewer ReportName="TestReport" Height="calc(100vh - 130px)" Width="100%">
<DxDocumentViewerTabPanelSettings Width="340" />
<DxWasmDocumentViewerRequestOptions InvokeAction="DXXRDV"></DxWasmDocumentViewerRequestOptions>
</DxWasmDocumentViewer>
Get Started
The following topics show how to create a Blazor application with the Document Viewer using DevExpress and Microsoft templates:
- Use DevExpress Templates to Create a Blazor Application with a JavaScript-based Document Viewer
- Add a JavaScript-Based Document Viewer to a Blazor Web App (Interactive WebAssembly) with an ASP.NET Core Backend