This tutorial describes how to place the ASP.NET Document Viewer onto a web page in an ASP.NET WebForms application:
Run the Visual Studio designer and press CTRL+ALT+X to open the Toolbox. Expand the DX.18.1: Reporting tab and drop the ASPxWebDocumentViewer control onto the page.
This adds the HTML5 Document Viewer (the latest Web Document Viewer that supports the HTML5/JS technology).
Click the Document Viewer's smart tag and select Switch to Classic ASP.NET Document Viewer.
This converts the HTML5 Document Viewer into the ASP.NET Document Viewer (an older Document Viewer version).
You can change the toolbar type by clicking the Document Viewer's smart tag and selecting the required type from the Toolbar Mode's drop-down list.
The following options are available:
Assign your report to the document viewer by setting its ASPxDocumentViewer.Report property. Click the Document Viewer's smart tag, expand the drop-down list for the Local Report property and select the report.
In Visual Studio 2012 and later versions, exclude the directory with the default visual themes along with the site.css file that is automatically created because they may corrupt the Document Viewer toolbar's layout. Press CTRL+ALT+L to switch to the Solution Explorer and remove the themes folder and the Site.css file from the Content directory.
Run the application to view the report on a web page.