This is a migrated thread and some comments may be shown as answers.
Feature request
2 Answers 29 Views
This is a migrated thread and some comments may be shown as answers.
hwsoderlund
Top achievements
Rank 1
hwsoderlund asked on 11 Feb 2009, 01:02 PM
A nice property on the tab control would be "AutoGenerateBreaks" (bool). As it is now, when I have a large amount of tabs that do not fit into a single row, I have to iterate through the individual tab items and set IsBreak to true for every fifth or so. The default (MS) tab control handles the breaks automatically, and it would be great if RadTabControl did the same.

2 Answers, 1 is accepted

Sort by
0
Accepted
Miroslav
Telerik team
answered on 11 Feb 2009, 02:52 PM
Hi Henrik,

Yes, the RadTabControl was modelled after the AJAX RadTabStrip where there was an IsBreak property. Still, the layout is managed by a Panel and they are interchangeable.

We have been thinking about providing an alternative panel, but there haven't been enough requests about this.

As a workaround I created an example where there are two TabControls with changed panels, on the left there is the WrapPanel (which behaves like the TabControl with align: left) and the other one is the default TabPanel, used in the standard controls.



This way of course not everything will work - the IsBreak property + the item aligns will stop functioning but it really depends what functionality you need.

Thanks for the feedback!

Hopefully this will work in your case,

Greetings,
Miroslav
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
hwsoderlund
Top achievements
Rank 1
answered on 12 Feb 2009, 08:40 AM
Good solution. Thanks.
Asked by
hwsoderlund
Top achievements
Rank 1
Answers by
Miroslav
Telerik team
hwsoderlund
Top achievements
Rank 1
Share this question
or