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

How are the possible drop targets of a RadTreeView drag and drop determined?

1 Answer 19 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
sunnywiz
Top achievements
Rank 1
sunnywiz asked on 08 Aug 2011, 09:24 PM

I have a tree, and a custom control.  The custom control has several labels that show what its current configuration are. 
I should be able to drag a node from the tree on top of the custom control - which will cause the custom control to update its configuration and show a new state. 
When I started coding, i used a text box - and I was able to drag and drop a node to it just fine. 
I have now started coding the custom control in earnest - which removes the checkbox and puts a bunch of text in its place - and now I can no longer drag the tree node on top of it.  

So, the question is - how can i define a particular area of the page as being "this is a place I can drag RadTreeNodes to". 

Note that I'm currently using  OnNodeDrop, I have not investigated the client-side drag and drop functionality. 

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 11 Aug 2011, 05:00 PM
Hello Sunnywiz,

You can take a look  at our help topic: Drag and Drop to Any HTML Element.

If this doesn't help you may use client-side events like in our Drag and Drop demo.

Hope this will be helpful.

Kind regards,
Plamen Zdravkov
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
TreeView
Asked by
sunnywiz
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or