Drag Drop results in duplicate nodes within target folder

2 posts, 0 answers
  1. Karl Wilkens
    Karl Wilkens avatar
    206 posts
    Member since:
    Oct 2012

    Posted 06 Dec 2008 Link to this post


    I have a server side NodeDrop event that when fired, injects javascript with a RadConfirm - allowing the user to confirm whether or not to perform the drag-drop operation. We do database functions in a separate Ajax request to change the node's parentID if drag drop is confirmed.

    However, At the exact moment the radConfirm fires, the contents of the expanded node duplicate. For example, if I have a root node open, and multiple child nodes and I drag drop from one child node to another, when the radConfirm displays, I see two instances of each of the  child nodes. There are no javascript errors and I have traced the code behind and I am not refiring the code that populates the sub nodes. I am stumped on why this is happening. If anyone out there has any idea on what to look for, that would be great. PS, here are the settings of the TreeView

                             <telerik:RadTreeView ID="RadTreeView1" CheckBoxes="True" AllowNodeEditing="true" runat="server" Skin="Web20" EnableDragAndDrop="True"  OnClientNodeChecked="onClientNodeChecked" OnClientNodeEdited="onClientNodeEdited" OnClientContextMenuItemClicked="onClientContextMenuItemClicked" OnClientNodeClicked="onClientNodeClicked" OnClientDoubleClick="onClientDoubleClick" >
  2. Simon
    Simon avatar
    2281 posts

    Posted 09 Dec 2008 Link to this post

    Hello Karl Wilkens,

    Could you also post the code needed to reproduce the issue with the provided declaration of the TreeView?

    Sincerely yours,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top