ActiveReports 8 > ActiveReports User Guide > Samples and Walkthroughs > Samples > HTML5 Viewer Sample |
The HTML5 Viewer sample demonstrates the use of HTML5 Viewer and its options to load different report types in basic or customized viewer.
Sample Location
Runtime Features
When you run the sample, the index.html containing the HTML5 Viewer appears on your browser with the following options to choose from:
The Basic UI Viewer appears by default with an option of switching to Custom UI Viewer by clicking the Custom UI option.
The Custom UI option loads the CustomUI.html in the browser. On the Custom UI Viewer page, you can click on any Genre category button to pass parameter to the MoviesReport.rdlx report and load the report in the viewer specific to the passed parameter value.
While working on the Custom UI Viewer, you can always switch back to the Basic UI Viewer by clicking the Basic option.
These options are a part of the Basic UI Viewer. Click on any of these buttons to load a report of specific format.
These options are a part of the Basic UI Viewer and are related to the Viewer report preview area. When you run this project, the HTML5 Viewer Desktop UI appears in the browser by default. You can switch to the HTML5 Viewer Mobile UI by clicking the Mobile button.
Project Details
Css folder
The Css folder contains the following css files that store styles for the HTML5 viewer application:
Fonts folder
The fonts folder contains the following font files to provide styles to the text that gets displayed in the HTML5 viewer at runtime:
images folder
Reports folder
The reports folder contains the following reports:
Scripts folder
The scripts folder contains the following javascript files and its dependencies required to build this application:
ActiveReports.ReportService.asmx
This report web service is required for the proper functioning of the HTML5 Viewer. The ActiveReports.ReportService.asmx is added automatically to the project when you place the Viewer control on the form. You can also can add this service using the Add New Item in the Visual Studio Project menu.
customUI.html
index.html