I have two webdatatree which are binded to different sqldatasources. When I drag and drop any node I want the database (Tables) to be updated accordingly. Can someone tell me any server-side event to implement this functionality.
Thanks,
Megha
Hello Megha,
you could use NodeDropped event. Please check out WebDataTree online samples: Drag and Drop Server Events and Drag and Drop Client Events
Please let me know if you have any further questions
Thanks for the reply. I have one more question regarding WebDataTree.
I have two webdatatrees, and they are populated with the same data initially. I can drag any item from webdatatree1 and drop it to the webdatatree2 , so the levels of any node in webdatatree2 can be changed. There might be a case where a new level is added to a node. Can someone suggest an efficient way to bind webdatatree so that it reflects all the dynamic changes made.The sql table I am using to generate webdatatree is :
Level_ID Parent_ID Child_ID
0 A B
1 B C
2 C D
1 E F
1 G H
2 H I
3 I J