Copy clone and drop nodes

2 posts, 0 answers
  1. Chuck
    Chuck avatar
    9 posts
    Member since:
    Oct 2012

    Posted 24 Jan 2012 Link to this post

    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?

  2. Svett
    Svett avatar
    728 posts

    Posted 27 Jan 2012 Link to this post

    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,
    the Telerik team

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

  3. DevCraft banner
Back to Top