Page 1 of 1

Ribbon Viewer - Hide buttons

Posted: Mon Mar 05, 2012 8:48 pm
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

Ribbon Viewer - Hide buttons

Posted: Tue Mar 06, 2012 6:21 am
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.

Ribbon Viewer - Hide buttons

Posted: Tue Mar 06, 2012 12:16 pm
by AndyDroid
Thank you

i forgot it!

Ribbon Viewer - Hide buttons

Posted: Wed Mar 07, 2012 1:36 am
by Andrew
Hello,

Ok!

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