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

2010 Release - Tab Strip Appearing

5 Answers 86 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Timothy DiPaula
Top achievements
Rank 1
Timothy DiPaula asked on 22 Mar 2010, 04:43 PM
I upgraded to the new 2010 Q1 release and now there is a large are being added under the title bar for the tabs.  I don't have any tabs defined so I do not want this showing.  How can I hide this?

5 Answers, 1 is accepted

Sort by
0
Timothy DiPaula
Top achievements
Rank 1
answered on 23 Mar 2010, 03:06 AM
The following code from the documentation hides the tab strip:
this.radRibbonBar1.RibbonBarElement.TabStripElement.Visibility = Telerik.WinControls.ElementVisibility.Collapsed; 

but the space used by the tab strip remains thus leaving a large gap between the titlebar and the page content.





0
Grant Drury-Green
Top achievements
Rank 1
answered on 23 Mar 2010, 06:32 AM
I'm also encountering this issue. This was working in the previous release.

See attached screen shot
0
Timothy DiPaula
Top achievements
Rank 1
answered on 23 Mar 2010, 11:57 AM
I submitted a sample project and a support ticket for this last night.
0
Timothy DiPaula
Top achievements
Rank 1
answered on 23 Mar 2010, 01:00 PM
A work-around that I added this morning is to set the MaximumSize.Height property to 50.  This limits the size of the RadRibbonBar and removed the unwanted space.
0
Grant Drury-Green
Top achievements
Rank 1
answered on 24 Mar 2010, 12:49 AM
Thanks for the help Timothy!

I've used: 

this.radRibbonBar1.MaximumSize = new Size(0,50); 
Tags
RibbonBar
Asked by
Timothy DiPaula
Top achievements
Rank 1
Answers by
Timothy DiPaula
Top achievements
Rank 1
Grant Drury-Green
Top achievements
Rank 1
Share this question
or