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

TabOrientation Bug when placed on left

1 Answer 159 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Larry asked on 22 Mar 2010, 02:57 AM
There appears tp be a bug in the RadTabControl when the TabStripPlacement is on the left. The TabOrientation is reversed. The following XAML displays tabs vertically. The tabs also are appear to be ordered backwards, from bottom to top of the tab strip rather than top to bottom.

        <telerikNav:RadTabControl TabOrientation="Horizontal" TabStripPlacement="Left">  
            <telerikNav:RadTabItem Header="Tab1"  /> 
            <telerikNav:RadTabItem Header="Tab2" /> 

I will also submit a support ticket.


1 Answer, 1 is accepted

Sort by
Telerik team
answered on 22 Mar 2010, 02:46 PM
Hello Larry,

For the Q1 official release we made some changes in RadTabControl:
In versions prior to Q1 2010:
The TabControl supports orientation and we apply a transformation to one of its template parts. Quite possibly we override your transformation in code.
If you apply the transformation on a wrapper element (or anywhere else actually), it should work.
2. The TabItem has four templates - Top / Left / Right / Bottom - one for each position of the TabStripPlacement of the TabControl.
When you create a custom template, it should be assigned to the orientation-specific template or it may get overriden.

In versions after Q1 2010:
3. All transformations to elements in the control template are applied with triggers and just one template is used (the control.Template). The new template will be easier to edit.
Please find attached a sample image that demonstrates the rotation of the tab depending on the current TabStripPlacement.

In your case I suppose that you want to place the tab in the bottom left corner then you have to use:
        <telerikNav:RadTabControl TabOrientation="Vertical" Height="200" TabStripPlacement="Left">
If you want to place the tab in the upper left corner then you have to use :
<telerikNav:RadTabControl TabOrientation="Vertical" Height="200" TabStripPlacement="Left" Align="Right">

I hope that this will help you.
 Please let us know if you have any other questions or need some more help.

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.
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question