Drag/Drop - only able to expand a leafnode once

2 posts, 0 answers
  1. Ryan
    Ryan avatar
    6 posts
    Member since:
    Jun 2010

    Posted 19 Feb 2012 Link to this post


    I have a TreeView that is bound to an observable collection.  I have Drag/Drop set up so I can drag a LeafNode to a Listbox.  The problem is, once I collapse the parent node of the LeafNode, I can no longer expand it again.  If I do not drag the leaf item to the Listbox I can expand/collapse the parent over and over.  As soon as I drag it to the Listbox, the parent will not expand anymore. 
  2. Petar Mladenov
    Petar Mladenov avatar
    3162 posts

    Posted 22 Feb 2012 Link to this post

    Hello Ryan ,

     Could you please elaborate more on your scenario? What are event that you use for the DragAndDrop operations? Do you (and if yes, how) remove the RadTreeViewItem when successfully dragged and dropped? Is your tree data bound? Is it possible for you to share some code snippets, this way we would be better able to help you? Thank you in advance.
    If we use this demo as a base for our discussion, can you confirm that you just need to copy the tree item when it is dragged and then dropped? 

    Kind regards,
    Petar Mladenov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top