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

RadTabControl - dropdown menu problem

1 Answer 123 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
raquos
Top achievements
Rank 1
raquos asked on 23 Apr 2012, 02:56 PM
Hi, 
I've found strange problem with dropdown menu in RadTabControl. Take a look at simple code:
 <UserControl x:Class="TabControlProblem.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    mc:Ignorable="d"
    >
    <Grid x:Name="LayoutRoot" Background="White">
        <telerik:RadTabControl DropDownDisplayMode="WhenNeeded">
            <telerik:RadTabItem Header="Lorem">
                <telerik:RadTabControl TabStripPlacement="Bottom" DropDownDisplayMode="WhenNeeded">
                    <telerik:RadTabItem Header="Lorem 1"/>
                    <telerik:RadTabItem Header="Lorem ipsum 1"/>
                    <telerik:RadTabItem Header="Lorem 2"/>
                    <telerik:RadTabItem Header="Lorem ipsum 2"/>
                    <telerik:RadTabItem Header="Lorem 3"/>
                    <telerik:RadTabItem Header="Lorem ipsum 3"/>
                    <telerik:RadTabItem Header="Lorem 4"/>
                    <telerik:RadTabItem Header="Lorem ipsum 4"/>
                    <telerik:RadTabItem Header="Lorem 5"/>
                    <telerik:RadTabItem Header="Lorem ipsum 5"/>
                    <telerik:RadTabItem Header="Lorem 6"/>
                    <telerik:RadTabItem Header="Lorem ipsum 6"/>
                    <telerik:RadTabItem Header="Lorem 7"/>
                    <telerik:RadTabItem Header="Lorem ipsum 7"/>
                    <telerik:RadTabItem Header="Lorem 8"/>
                    <telerik:RadTabItem Header="Lorem ipsum 8"/>
                    <telerik:RadTabItem Header="Lorem 9"/>
                    <telerik:RadTabItem Header="Lorem ipsum 9"/>
                </telerik:RadTabControl>
            </telerik:RadTabItem>
            <telerik:RadTabItem Header="Lorem ipsum"/>
            <telerik:RadTabItem Header="Lorem"/>
        </telerik:RadTabControl>
    </Grid>
</UserControl>

...and effect is like in attachment. Dropdown menu goes to the top of the screen. I would be grateful for any solution.

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 26 Apr 2012, 02:01 PM
Hello Rakak,

Thank you for reporting this issue. Our investigation showed that it is caused by the TabStripPlacement settings - it seems that if you change the default value of this property, the DropDownMenu of the RadTabControl is displayed at the left top corner. we logged the issue in our PITS so that you can track its progress.

I also updated your Telerik account for bringing it to our attention.

Greetings,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
TabControl
Asked by
raquos
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or