How to persist the object of RadTreeNode across postbacks?

2 posts, 0 answers
  1. Dev
    Dev avatar
    28 posts
    Member since:
    Jan 2011

    Posted 29 Aug 2012 Link to this post

    Hi !!

    I have a RadTreeview, in which I allow to move or copy nodes across the same treeview. The concept is on Node drop I return a jQuery dialog box that asks "What operation do you want to perform?" with link buttons Move, Copy or Cancel. On clicking move button I want to move the selected nodes with hierarchy below the destination node, On clicking copy button I want the selected nodes remains on their same position but a copy of them created below the destination node. So that I want the object of Source RadTreeNode(s), destination RadTreeNode and drop position. As I click the move or copy button, it make the page_load() event in which I lost that objects. Can any one have idea how to persists it? Awaiting for your valuable response.

  2. Boyan Dimitrov
    Boyan Dimitrov avatar
    2062 posts

    Posted 03 Sep 2012 Link to this post

    Hello Dev,

    I did a sample project, which is illustrating a scenario similar to what you are trying to achieve. You can find it attached to this response. I am using RadWindow for the dialog box and RadButton for its buttons. Here you can find more information about RadWindow control and here - for RadButton control.

    I hope you will find this project useful and will help you out.

    Kind regards,
    Boyan Dimitrov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top