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

transfer items between TreeViews

2 Answers 34 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Di
Top achievements
Rank 1
Di asked on 25 Mar 2011, 03:26 AM
Hi there,

I was able to connect to my hierarchical sql data according to demo
http://demos.telerik.com/aspnet-ajax/treeview/examples/programming/databinding/defaultcs.aspx.

Now I need to transfer the items between two TreeViews, similar to the demo below except for the demo is using ListBoxs:
http://demos.telerik.com/aspnet-ajax/listbox/examples/functionality/transfer/defaultcs.aspx

But I need to keep the hierarchy information during transfer. Say, if the item belongs to group1 in TreeView1, it will also be shown as group1 item in TreeView2 after transfered to TreeView2.

TreeView2 is blank at first, after finished selecting data from TreeView1, I would like to write everything in TreeView2 to database with hierarchy info.

How could I accomplish that?

Thanks,
Di

2 Answers, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 28 Mar 2011, 09:57 AM
Hello Di,

Please take a look at the following demo for Drag and Drop of the RadTreeView.

Kind regards,
Kate
the Telerik team
0
Santhosh
Top achievements
Rank 1
answered on 08 Jun 2012, 09:36 AM
Hi,
I too need this type of same scenario in my project as Di told..but as Kate suggested there is only Drag and drop transfer but i need double click transfer and arrowRight,ArrowLeft button transfer in same scenario.
waiting for  suppport

Thanks & Regards,
Santhosh Naik
Tags
TreeView
Asked by
Di
Top achievements
Rank 1
Answers by
Kate
Telerik team
Santhosh
Top achievements
Rank 1
Share this question
or