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

RadDocking seems to break drag/drop with ListBoxDragDropTarget

2 Answers 56 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Geir-Tore
Top achievements
Rank 1
Geir-Tore asked on 02 Nov 2011, 12:26 PM
Hi,

I've been struggling with an issue with ListBoxDragDropTarget (from SL toolkit) for a while now and finally found the culprit.

Here is the rundown of the issue:
Our application uses RadDocking for the shell, and within one of our usercontrols I have a listbox where I want to be able to rearrange the items with drag and drop. The problem is that when the listbox is within RadDocking, I can't seem to stop items from being dragged out from the listbox and removed.

I have uploaded an example project which displays the issue. The upper part of the application uses RadDocking and you can see that it's possible to drag items out from the listbox. The bottom part of the application does not use RadDocking and I can't drag items out from the listbox.

Any workaround for this?

Example project can be downloaded from here: http://dl.dropbox.com/u/360916/SilverlightApplication2.zip

(Edit: Whoops. Removed build output and the telerik assemblies from the download)

2 Answers, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 04 Nov 2011, 09:24 AM
Hi Geir-Tore,

We are currently improving the Drag and Drop implementation of our RadTabControl (the control which RadDocking is based on) and I hope this issue will not be present in the Q3 release. Root cause for the issue is setting the AllowDrop property of the control into the constructor. You could try to set AllowDrop to false after the control is initialized.

Hope this help. Please let us know if need further info on the topic.

Kind regards,
Hristo
the Telerik team

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

0
Geir-Tore
Top achievements
Rank 1
answered on 04 Nov 2011, 09:26 AM
Thanks, I'll give it a try with AllowDrop
Tags
Docking
Asked by
Geir-Tore
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Geir-Tore
Top achievements
Rank 1
Share this question
or