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

Disable Multi Rows

3 Answers 41 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Barry Burton
Top achievements
Rank 1
Barry Burton asked on 01 Jun 2011, 02:04 PM
I have a tab strip that is 1000 pixels wide.  Assume that the tab strip is "full" e. g. no room for an additional tab on the first row.  If I add a new tab, RadTabStrip automatically adds an additional tab row.  I'd much rather get back an error indicating that adding the tab failed than the RadTabStrip assuming that I want it to add the new row.  Is there a way to turn off or disable this "feature"? 

3 Answers, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 01 Jun 2011, 06:13 PM
Hello Barry Burton,

You could make the RadTabStrip scrollable by setting the ScrollChildren  property to "True" as described in the following demo.

Best wishes,
Kate
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Gimmik
Top achievements
Rank 1
answered on 01 Jun 2011, 06:46 PM
Hi Barry,

I don't think there is a way to determine if a tab is in the first row or the second row. I think this is due to the fact that by the time the control gets rendered to HTML it is nothing more then an unordered list. I think Kate's idea about making the RadTabStrip scrollable might be your best bet.

Hope this helps,
-Gimmik
0
Barry Burton
Top achievements
Rank 1
answered on 01 Jun 2011, 07:50 PM
Not exactly what I wanted, but close enough.  Thanks to Kate and Gimmik!
Tags
TabStrip
Asked by
Barry Burton
Top achievements
Rank 1
Answers by
Kate
Telerik team
Gimmik
Top achievements
Rank 1
Barry Burton
Top achievements
Rank 1
Share this question
or