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

RadTabControl AllowDragReorder issue

3 Answers 51 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
SPE
Top achievements
Rank 1
SPE asked on 21 Sep 2012, 06:02 AM
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.

3 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 25 Sep 2012, 03:47 PM
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.

0
SPE
Top achievements
Rank 1
answered on 25 Sep 2012, 11:58 PM
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.
0
Stefan
Telerik team
answered on 28 Sep 2012, 10:31 AM
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.

Tags
TabControl
Asked by
SPE
Top achievements
Rank 1
Answers by
Stefan
Telerik team
SPE
Top achievements
Rank 1
Share this question
or