This is a migrated thread and some comments may be shown as answers.

RadRibbonBar Collapsed does not display tabs on load

2 Answers 104 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Ezequiel
Top achievements
Rank 2
Ezequiel asked on 30 Nov 2012, 10:18 AM
I have a RadRibbonBar with some tabs. This RadRibbonbar is set:
radRibbonBarTemplate.Expanded = false;

but when the app is started it does not display the tabs. if I expand and collapse it again, it works properly.

Not sure if this is a default behavior, a bug or any missing setting. Any idea?

Thanks,
Ezequiel

2 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 05 Dec 2012, 12:10 PM
Hello Ezequiel,

Thank you for writing.

I was able to reproduce this case when the collapsing is performed in the form's constructor. When I am collapsing the ribbon in the Load or Shown events, it works correctly. If you are also making this setting in the constructor, please note that the observed behavior is expected, since this is too early and the ribbon layouts did not yet occur. Please move your code to the Load or Shown events. 

I hope this helps.
 
All the best,
Stefan
the Telerik team
Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
0
Ezequiel
Top achievements
Rank 2
answered on 05 Dec 2012, 12:58 PM
thanks! that worked!
Tags
RibbonBar
Asked by
Ezequiel
Top achievements
Rank 2
Answers by
Stefan
Telerik team
Ezequiel
Top achievements
Rank 2
Share this question
or