RadDocking seems to break drag/drop with ListBoxDragDropTarget

3 posts, 0 answers
  1. Geir-Tore
    Geir-Tore avatar
    20 posts
    Member since:
    Jun 2009

    Posted 02 Nov 2011 Link to this post

    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. Hristo
    Admin
    Hristo avatar
    352 posts

    Posted 04 Nov 2011 Link to this post

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

  3. DevCraft banner
  4. Geir-Tore
    Geir-Tore avatar
    20 posts
    Member since:
    Jun 2009

    Posted 04 Nov 2011 Link to this post

    Thanks, I'll give it a try with AllowDrop
Back to Top