# ReportViewer

This page shows how to use the ReportViewer control to display the content of FlexReport and SSRS report from C1 Report Services.

The C1 Web API Report Services is an API which can render and export FlexReport and SSRS report. It uses C1FlexReport to render the FlexReport, and uses C1SSRSDocumentSource to connect with SSRS server and render the SSRS report. Please see How to Set Up C1 Web API Report Services for details.

To show the report content in Wijmo ReportViewer control from the C1 Report Services, set the following basic properties:

1. serviceUrl: The url of C1 Web API Report Services. For example, ''.
2. filePath: The full path to the FlexReport definition file or SSRS report on the server. For example, 'ReportsRoot/Formatting/AlternateBackground.flxr' for FlexReport, and 'c1ssrs/AdventureWorks/Company Sales' for SSRS report.

   The 'ReportsRoot' and 'c1ssrs' are the keys of the report providers which are registered at server for locating specified report.

3. reportName: (only for FlexReport) The report name defined in the FlexReport definition file. For example, 'AlternateBackground' for the report named 'AlternateBackground' in the AlternateBackground.flxr file.

Selected FlexReport:
Selected SSRS Report: