Dynamically size tab control and populate DropdownContent

2 posts, 0 answers
  1. Chris
    Chris avatar
    53 posts
    Member since:
    Oct 2012

    Posted 29 Apr 2010 Link to this post


    Is there a way to dynamically update the tab control width so that it only displays the tabs that are 100% visible (therefore the width of the tab control needs to be shortened if part of another tab is showing).  I don't want the horizontal scrollviewer turned on to allow me to see the non-visible tabs.  I would like those displayed in the dropdown.

    If you have let's say 10 tabs, but only 6 tabs are visibile due to the size of the form, I want the tab control to dynamically resize to not show part of the 7th tab (if part of it was showing) and only show the 6 visible tabs only.  The 7th and subsequent tabs that aren't visible should be shown in the dropdown.  All visible tabs should not be listed in the dropdown at all.

    Basically I want to see only full tabs, not part of a tab.  Those tabs that aren't visible should be displayed in the dropdown only, the tabs that are visible should not be displayed in the dropdown, and the tab control should resize (to a shorter width) to only show tabs that are visible.

    Thank you in advance.


  2. Tina Stancheva
    Tina Stancheva avatar
    3298 posts

    Posted 05 May 2010 Link to this post

    Hello Chris,

    Unfortunately, this scenario isn't supported by the RadTabControl.

    However, I added it as a feature request and you can find for it in our PITS under the name TabControl: Dynamically size tab control and populate DropdownContent. The item will be available for tracking tomorrow the latest. You can vote for it and if it gathers enough popularity we will definitely implement it. Let me know if you have additional comments on the topic.

    I also updated your Telerik points accordingly.

    Sincerely yours,
    Tina Stancheva
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. DevCraft banner
Back to Top