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

Copy clone and drop nodes

1 Answer 222 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Chuck
Top achievements
Rank 1
Chuck asked on 24 Jan 2012, 06:46 PM
I am creatiung a C# application that will use the radtreeview.

when a new node is added the tag and value properties are set  identifying the type of node being created.

drag and drop are enabled and working as one would expect. the tag and value follow as the user drags node in the tree, works very nice.

I enabled the default context menu for copy and paste, by a copied node only seems to keep the "text" the tag and value are not copied the are NULL; What events can i intercept and make sure the copied data follows the new node.  i cant seem to identify the equivilent to all the asp examples for winforms. (IE args.getsourcenode/args.getdestnode.)

The next question i will have is about copying the singlenode vs the tree.

am i missing somthing or should i just implement my own context menu?







1 Answer, 1 is accepted

Sort by
0
Svett
Telerik team
answered on 27 Jan 2012, 10:29 AM
Hello Robert,

You should implement your own context menu in order to achieve the desired behavior. Then you can alter the copy-paste scenario the way that you want. You read more about that in the online documentation.

Kind regards,
Svett
the Telerik team

SP1 of Q3’11 of RadControls for WinForms is available for download (see what's new).

Tags
Treeview
Asked by
Chuck
Top achievements
Rank 1
Answers by
Svett
Telerik team
Share this question
or