Intersoft ClientUI Documentation
How-to: Use SqlReportViewer to Display a Single Report

The following example shows how to configure the SqlReportViewer control to display a single report.

Example

Description

SqlReportViewer by default is configured to run with report browser enabled. In order to run SqlReportViewer in single report scenario, you will need to disable the report browser feature.

Code

The following code shows how to disable the SqlReportViewer report browser functionality by customizing the CanUserShowReportList and EnableAutomaticListFetching property.

View
Copy Code
<Intersoft:SqlReportViewer ... CanUserShowReportList="False" EnableAutomaticListFetching="False" />
See Also

Concepts