Page 1 of 1

Hide buttons in report viewer

Posted: Thu Aug 16, 2012 11:53 pm
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?

Re: Hide buttons in report viewer

Posted: Fri Aug 17, 2012 2:48 pm
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.