Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
504
How to store the state of the Tree?
posted

Hi I am dragging and dropping nodes on the tree, but i lose the state of the tree during this process after postback. Is there any way of maintianing the state of the tree after drop happens after postback?

 

Raj

Parents
No Data
Reply
  • 7694
    posted

    Hello,


    When you  drag and  drop  nodes of  tree you  do that on client side and after force post back you  back to previous state. You  have to implement functionality  that after change structure of the tree  on client change it and on the server side.


     My  suggestion is to use list of events  that you  add all changes on the tree and in post back  make same  changes on the server side. You  can use the client side event Drop and  add all dropped nodes ID in hidden field and after post back get it.


    Thanks.

Children