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

RadTabControl drag reorder is broken

3 Answers 31 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Serhiy Volhushyn
Top achievements
Rank 1
Serhiy Volhushyn asked on 22 Dec 2011, 10:47 PM
Looks like RadTabControl AllowDragReorder is broken in build 2011.2.1031 Office_Blue theme.

<Controls:RadTabControl Grid.Row="2"  AllowDragReorder="True" TabStripPlacement="Bottom" TabOrientation="Horizontal" Background="White" BackgroundVisibility="Visible" BorderThickness="1" BorderBrush="#FF008080">
    <Controls:RadTabItem Header="Tab 1" />
    <Controls:RadTabItem Header="Tab 2" />
    <Controls:RadTabItem Header="Tab 3" />
    <Controls:RadTabItem Header="Tab 4" />
    <Controls:RadTabItem Header="Tab 5" />
</Controls:RadTabControl>

Was working in 2011.1 release.

3 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 23 Dec 2011, 05:29 PM
Hello,

 Unfortunately, we were unable to reproduce this behavior with the 1031 internal build assemblies, OfficeBlue theme and your project. Please check it out and let us know if we have missed something.

Do you place this TabControl is a special parent control 's Content ? Have you tried your scenario with the Q3  or Q3 SP1 dlls ? Thank you in advance for your cooperation.

Kind regards,
Petar Mladenov
the Telerik team

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

0
Serhiy Volhushyn
Top achievements
Rank 1
answered on 23 Dec 2011, 09:09 PM
It is reproducable when put RadTabControl inside Grid layout in 2nd row.
Unfortunately cannot use Q3 release for the next 3-4 month.
<UserControl
    x:Class="TestRadTabControl.MainPage"
    xmlns:Controls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation">
 
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
         
        <TextBlock Grid.Row="0" Text="Some text" />
 
        <Controls:RadTabControl Grid.Row="1" AllowDragReorder="True" TabStripPlacement="Bottom" TabOrientation="Horizontal" Background="White" BackgroundVisibility="Visible" BorderThickness="1" BorderBrush="#FF008080">
            <Controls:RadTabItem Header="Tab 1" />
            <Controls:RadTabItem Header="Tab 2" />
            <Controls:RadTabItem Header="Tab 3" />
            <Controls:RadTabItem Header="Tab 4" />
            <Controls:RadTabItem Header="Tab 5" />
        </Controls:RadTabControl>
 
    </Grid>
</UserControl>

This way reordering does not work, if i comment TextBlock or put RadTabControl 1st and TextBlock 2nd in the Grid it works again.
0
Petar Mladenov
Telerik team
answered on 27 Dec 2011, 10:36 AM
Hi Serhiy Volhushyn ,

 We managed to reproduce this issue with the code provided and we logged a bug in our PITS. We also updated your telerik account points as a thanks for your cooperation. Currently, we cannot provide an estimated time when this will be resolved.

Kind regards,
Petar Mladenov
the Telerik team

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

Tags
TabControl
Asked by
Serhiy Volhushyn
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Serhiy Volhushyn
Top achievements
Rank 1
Share this question
or