Hide buttons in report viewer

Stimulsoft Reports.WPF discussion
Post Reply
sri
Posts: 10
Joined: Thu Aug 16, 2012 5:23 pm

Hide buttons in report viewer

Post by sri »

I want to hide buttons like "save" and "Open" in the wpf viewer. I know how to do this if I use StiwpfControlViewer control.

But I use the call "ShowWithWPF()" to show the report viewer. So, how do I accomplish using this mode? can I get access to the viewer?
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Re: Hide buttons in report viewer

Post by Ivan »

Hello,

Please try to set the following static properties:

Code: Select all

StiOptions.Viewer.Windows.ShowOpenButton = false;
StiOptions.Viewer.Windows.ShowSaveButton = false;
Thank you.
Post Reply