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

Drag & Drop from Grid to Grid?

2 Answers 122 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
ITA
Top achievements
Rank 1
ITA asked on 13 Feb 2012, 04:23 PM
Hi,

is there any Example how to use Drag & Drop from DataGrid to Datagrid + From one mvvm to an other mmvm?

Thanks
Regards
ww

2 Answers, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 14 Feb 2012, 03:17 PM
Hi,

Are you referring to the RadGridView or Microsoft's DataGrid? 
If the question is about the RadGridView, you can use the GridViewDragDropBehavior. I am attaching a sample project that demonstrates how you can achieve the behavior. 
If you referred the Microsoft's DataGrid, you can create a custom attached behavior where you can handle the DragDrop events and implement the logic you desire. 

Hope this helps!

Regards,
Nik
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Wenjie
Top achievements
Rank 1
answered on 17 Jul 2013, 07:00 AM
tear out hair out


e.DragVisual=NewTelerik.Windows.DragDrop.DragVisual()
 
not Telerik.Windows.Controls.DragVisual()
Tags
DragAndDrop
Asked by
ITA
Top achievements
Rank 1
Answers by
Nick
Telerik team
Wenjie
Top achievements
Rank 1
Share this question
or