RadTabControl drag reorder is broken

4 posts, 0 answers
  1. Serhiy Volhushyn
    Serhiy Volhushyn avatar
    21 posts
    Member since:
    Dec 2009

    Posted 22 Dec 2011 Link to this post

    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.
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 23 Dec 2011 Link to this post

    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 >>

  3. DevCraft banner
  4. Serhiy Volhushyn
    Serhiy Volhushyn avatar
    21 posts
    Member since:
    Dec 2009

    Posted 23 Dec 2011 Link to this post

    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.
  5. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 27 Dec 2011 Link to this post

    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 >>

Back to Top