This is a migrated thread and some comments may be shown as answers.

Maintaining drag-and-drop state of RadTreeView on client side without postback?

0 Answers 67 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Web
Top achievements
Rank 1
Web asked on 20 Jun 2013, 05:14 PM
I have a RadTreeView 

<telerik:RadTreeView ID="RadTreeView1" runat="server" EnableDragAndDrop="True"
                    EnableDragAndDropBetweenNodes="true" DataFieldID="CategoryID" DataFieldParentID="ParentID"
                    DataSourceID="LinqDataSource1" DataTextField="Name" DataValueField="CategoryID"
                    AllowNodeEditing="False" ExpandAnimation-Duration="150" OnNodeCheck="RadTreeView1_NodeCheck"
                    OnNodeDataBound="RadTreeView1_NodeDataBound" CheckBoxes="True"
                    OnClientNodeDropping="onNodeDropping">

I want to save my drag-and-drop using client calls with ajax. I'm able to get all the information I need with onNodeDropping but the client state is not persistent.  After the drop the node goes back to the original position. If I do a postback and rebind the tree then it works fine but I don't want to do a postback.
Thank you

No answers yet. Maybe you can help?

Tags
TreeView
Asked by
Web
Top achievements
Rank 1
Share this question
or