Intersoft ClientUI 8 > ClientUI Controls > Control Library > Document Controls Overview > SqlReportViewer > How-to: Use SqlReportViewer to Display a Single Report |
The following example shows how to configure the SqlReportViewer control to display a single report.
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.
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" /> |