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

Get Tag Value in Drag Drop event

1 Answer 50 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Manikandan
Top achievements
Rank 1
Manikandan asked on 18 Jun 2009, 08:56 AM
Hi... I am  using RadTreeview .I drag a row from Grid and drop in RadTreeview. I need the value of the node tag in Drag Drop event .How to get  the tag in Drag Drop event.?

1 Answer, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 19 Jun 2009, 12:20 PM
Hi Manikandan,

Thank you for writing.
 
If you are asking how to get the Node on which you are dropping the grid row, you can do this:
 
private void radTreeView1_DragDrop(object sender, DragEventArgs e)  
{  
    RadTreeNode n = this.radTreeView1.GetNodeAt(e.X, e.Y);  
    Object tag = n.Tag;  

A bit off-topic: if your company has purchased our controls already, please ask the purchase holder to add you as a License Developer to the purchase. This will give you direct access to our support ticketing system and services. More on License Developers you can find here: www.telerik.com/account/faqs.aspx


Regards,
Victor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Treeview
Asked by
Manikandan
Top achievements
Rank 1
Answers by
Victor
Telerik team
Share this question
or