Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Analysis Server and Reporting Services (2005)
 Hide export tool bar in .net ReportViewer

Author  Topic 

dexter.knudson
Constraint Violating Yak Guru

260 Posts

Posted - 2008-09-18 : 19:09:19
We are calling ReportViewer from a .NET app. A number of reports have been implemented successfully. We just need to be able to turn off the export tool bar on some reports/charts so it does not appear in the Report Viewrer. How is this done?

dexter.knudson
Constraint Violating Yak Guru

260 Posts

Posted - 2008-09-18 : 19:28:41
Found it:
this.ReportViewer1.ShowToolBar = false;
Go to Top of Page

dexter.knudson
Constraint Violating Yak Guru

260 Posts

Posted - 2008-09-18 : 19:30:23
This does the whole toolbar, which we want. It's also possible to turn off parts of the toolbar eg:
this.ReportViewer1.ShowExportControls = false;
this.ReportViewer1.ShowPageNavigationControls = false;
this.ReportViewer1.ShowRefreshButton = false;
Go to Top of Page
   

- Advertisement -