Feature request

3 posts, 1 answers
  1. hwsoderlund
    hwsoderlund avatar
    419 posts
    Member since:
    Aug 2006

    Posted 11 Feb 2009 Link to this post

    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. Answer
    Miroslav
    Admin
    Miroslav avatar
    922 posts

    Posted 11 Feb 2009 Link to this post

    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.
  3. DevCraft banner
  4. hwsoderlund
    hwsoderlund avatar
    419 posts
    Member since:
    Aug 2006

    Posted 12 Feb 2009 Link to this post

    Good solution. Thanks.
Back to Top