Ribbon Viewer - Hide buttons

Stimulsoft Reports.NET discussion
Post Reply
AndyDroid
Posts: 24
Joined: Mon Nov 28, 2011 1:23 pm

Ribbon Viewer - Hide buttons

Post by AndyDroid »

Hello

i'm trying to hide some buttons in ribbon viewer, but i have some problems.

Wherever i use this code:
"StiOptions.Viewer.Windows.ShowCloseButton = False"

the button hides when i open the report, but i need it when the ribbon is loaded( i mean before to open the report)

what can i do?

thank you for support
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Ribbon Viewer - Hide buttons

Post by HighAley »

Hello.
AndyDroid wrote:i'm trying to hide some buttons in ribbon viewer, but i have some problems.

Wherever i use this code:
"StiOptions.Viewer.Windows.ShowCloseButton = False"

the button hides when i open the report, but i need it when the ribbon is loaded( i mean before to open the report)

what can i do?

thank you for support
You should set this property before initialisation of the Viewer.

Thank you.
AndyDroid
Posts: 24
Joined: Mon Nov 28, 2011 1:23 pm

Ribbon Viewer - Hide buttons

Post by AndyDroid »

Thank you

i forgot it!
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Ribbon Viewer - Hide buttons

Post by Andrew »

Hello,

Ok!

Let us know if you have additional questions.
Thank you.
Post Reply