Drag and Drop within RadTreeview

1 posts, 0 answers
  1. Yoga
    Yoga avatar
    1 posts
    Member since:
    May 2009

    Posted 09 May 2009 Link to this post

    I am using a radtreeview say of the following structure.
    Node A
        Node B
            Node C
                Node D

    If I drag and drop Node C over Node A. The tree view changes as
    Node A
        Node C
            Node B
                Node D

    Now if I try to drag and drop  Node B over Node A -> Nothing happens. Please help me to implement this.

    The treeview properties are:


    <telerik:RadTreeView ID="radTree1" runat="server" OnNodeClick="radTree1_NodeClick"


         Height="160px" EnableDragAndDrop="True" OnNodeDrop="radTree1_HandleDrop" >




        <CollapseAnimation Type="OutQuint" Duration="100"> </CollapseAnimation>




        <DataBindings> <telerik:RadTreeNodeBinding Expanded="true"/> </DataBindings>




        <ExpandAnimation Duration="100"> </ExpandAnimation>





    The onnodedrop event is triggered when child node is moved above. OnNodeDrop event is NOT TRIGGERED when parent node is moved below.

    Thanks in advance.






Back to Top