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

Dynamically size tab control and populate DropdownContent

1 Answer 81 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 30 Apr 2010, 01:51 AM
Hi,

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.

Regards,

Chris

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 05 May 2010, 02:10 PM
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.
Tags
TabControl
Asked by
Chris
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or