I want to be able to drag a node from a tree view and drop it into a grid view right above the row under the mouse. Basically the same way the row re-ordering is done in the grid view (same effect and all) but instead of the same grid view being the source, a tree view would be one.
You should first enable drag drop functionality from the TreeView, once you got that working you could just take a look at this code library project drag drop between grids in bound mode. which uses the Grid DragDropService to add items to the grids collection.
Hope this helps, if you have any other questions or comments, please let me know,
Hello Emanuel,
i've downloaded the example in your post, but i can't perform a drag from a RadTreeView to a RadGridView, but only between rows and grid. Is there something i should know?
Thanks for your support
Francesco
0
Svett
Telerik team
answered on 11 Feb 2011, 05:23 PM
Hi francesco,
Presently, the RadTreeView does not support this scenario out of the box. You should use the standard OLE drag and drop provided by Microsoft. You can read more about it in this MSDN article.
Greetings,
Svett
the Telerik team
Q3’10 SP1 of RadControls for WinForms is available for download; also available is the Q1'11 Roadmap for Telerik Windows Forms controls.