RadTabControl AllowDragReorder issue

4 posts, 0 answers
  1. SPE
    SPE avatar
    34 posts
    Member since:
    Sep 2010

    Posted 21 Sep 2012 Link to this post

    I'm reporting an issue regarding RadTabControl's AllowDragReorder.

    My TabItems in RadTabControl won't move to the right if the control is located in second or third column.

    I can drag and reorder TabItems from left to right or from right to left when the Grid.Column is set to "0" as follow.



    <Grid>

        <Grid.ColumnDefinitions>

            <ColumnDefinition/>

            <ColumnDefinition/>

        </Grid.ColumnDefinitions>

        <telerik:RadTabControl Grid.Column="0"  AllowDragReorder="True" AllowDragOverTab="True" >

            <telerik:RadTabItem Header="test1"/>

            <telerik:RadTabItem Header="test2"/>

        </telerik:RadTabControl>

        <Grid Grid.Column="1" Width="200"/>



    </Grid>



    But if the Grid.Column is not "0" and there is any control that takes space to the left of the RadTabControl, I can't drag TabItems from left to right but right to left.



    <UserControl x:Class="SilverlightApplication1.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"

            d:DesignHeight="300" d:DesignWidth="400">

        <Grid x:Name="LayoutRoot" Background="White">

            <Grid.ColumnDefinitions>

                <ColumnDefinition/>

                <ColumnDefinition/>

            </Grid.ColumnDefinitions>

     

            <Grid Grid.Column="0" Width="200"/>



            <telerik:RadTabControl Grid.Column="1"  AllowDragReorder="True" AllowDragOverTab="True" >

                <telerik:RadTabItem Header="test1"/>

                <telerik:RadTabItem Header="test2"/>

            </telerik:RadTabControl>


        </Grid>



    </UserControl>



    This also happens in StackPanel with Orientation="Horizontal" if the RadTabControl isn't the first item of the StackPanel.



    Please let me know how to solve this issue.





    Best Regards.

  2. Stefan
    Admin
    Stefan avatar
    89 posts

    Posted 25 Sep 2012 Link to this post

    Hi Sunmin,

    Unfortunately I was not able to reproduce this issue with the code snippets you have provided. Could you be more specific about the version of our controls you use? Also in order to further investigate this issue, it would be very helpful if you send us a sample project demonstrating the described behavior of the RadTabControl.

    Regards,
    Stefan
    the Telerik team

    Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

  3. DevCraft banner
  4. SPE
    SPE avatar
    34 posts
    Member since:
    Sep 2010

    Posted 25 Sep 2012 Link to this post

    Thanks for the reply Stefan.

    Just checked the version and it was quite old.

    2011.2.920.1040

    Is there any way that I can solve this problem, beside purchasing a new version?

    How do I send my sample project anyway? via mail? cuz the Attach file in the bottom only allows images.
  5. Stefan
    Admin
    Stefan avatar
    89 posts

    Posted 28 Sep 2012 Link to this post

    Hi Sunmin,

    Unfortunately we are not aware of a workaround with the RadControls version you use (2011.2.920.1040). This is why we'd like to encourage you to use the latest version of our assemblies to test your solution.

    As for attaching a sample project - you're right that in a forum post you can only attach image files. In order to send over a sample solution, you need to start a support ticket.

    Kind regards,
    Stefan
    the Telerik team

    Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

Back to Top