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

Radpane and usercontrol

1 Answer 141 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Lowie
Top achievements
Rank 1
Lowie asked on 29 Apr 2013, 08:43 AM
Hi there

I've a radpane that contains a usercontrol with a gridview and some buttons. 
The radpanegroup is set that it can't be dragged and the dragdropmode is deferred.
<t:RadPaneGroup AllowDrop="False" t:ProportionalStackPanel.RelativeSize="200,300">
<t:RadPane x:Name="Ticket" Header="Ticket" CanFloat="False" CanUserClose="False" CanDockInDocumentHost="False"
CanUserPin="False" t:RadDocking.SerializationTag="Ticket"  ContextMenuTemplate="{StaticResource PaneContextMenuTemplate}">
  <uc:TicketUserControl DataContext="{Binding TicketViewModel}" />
</t:RadPane>
</t:RadPaneGroup>


The problem is when I click in the usercontrol and start dragging, the radpane 'starts dragging'. On the attached picture, you can see that the name of the radpane appears at the bottom, but the radpane itself does not show that it is being dragged. That on itself is not a big problem. the big problem is when I do this on an item (a row) in the gridview. When I do this, sometimes the whole radpane disappears. And only restarting the program will reset the radpane. 
So I guess that it is possible to drag the usercontrol (and with the usercontrol, also the radpane), even when the radpane is not.

Is this a bug or is there a property that I have to set on the usercontrol or radpane to eliminate this behavior?

Thanks in advance
Lowie

1 Answer, 1 is accepted

Sort by
0
Accepted
Konstantina
Telerik team
answered on 02 May 2013, 11:06 AM
Hi Lowie,

Thank you for bringing this to our attention.

This is a bug in the newly introduced DragDrop behavior of the Docking control. I have logged this issue in PITS, so that you could track its status and see when it is going to be fixed.
Your Telerik points have been updated for the bug report.

Regards,
Konstantina
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Docking
Asked by
Lowie
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or