Reports for WinForms Task-Based Help > Printing and Previewing Task-Based Help > Previewing SSRS Reports |
C1SsrsDocumentSource enables you to specify the location or name of the SSRS report to be viewed. It will then allow the C1PrintPreviewControl to display an SSRS report.
It is not a visual component so it can be added onto a form but it appears in the component tray.
Note: You must have access to the SSRS report server and have at least one report on that server before you start this topic. |
To preview or export an SSRS report, using the C1PrintPreviewControl, create a new WinForms application, using .NET framework 4.0 or above and complete the following steps:
If you cannot find the component in the toolbox, right click and select choose items. The Choose Toolbox Items dialog appears. Locate the component in the C1.Win.C1Document.dll and add it to the toolbox. |
Note: Ensure that the following DLLs are added to the project references.
|
You may be asked to set some parameters, based on which you see the specified SSRS report in the preview control.
You can now export it to a number of supported external formats.