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

1 posts, 0 answers
  1. Web
    Web avatar
    5 posts
    Member since:
    May 2011

    Posted 20 Jun 2013 Link to this post

    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"

    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

Back to Top