Hi,
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" >
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" >