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

Why don't drag events fire on GridView

1 Answer 56 Views
GridView
This is a migrated thread and some comments may be shown as answers.
OverCoded
Top achievements
Rank 2
OverCoded asked on 22 Oct 2010, 05:34 PM
I have two gridviews I want to drag and drop rows from one to the other. I cannot get any of the drag event to fire when I select a row and drag with the mouse. The only ones that seem to fire are the DragQuery and DragInfo, neither of which will give me drag effects. All the sample projects provided are for out of date code and need to have a half dozed helper classes. Are there no simple methods to implement this with the new Radgrid?

1 Answer, 1 is accepted

Sort by
0
Tsvyatko
Telerik team
answered on 27 Oct 2010, 09:44 AM
Hi OverCoded,

When using Telerik DragAndDropManager the drag operations will be controlled by this four events:
- DragQuery
- DragInfo
- DropQuery
- DropInfo
For more information please check this article - http://www.telerik.com/help/silverlight/raddraganddrop-events-overview.html

If you need to use the DragEnter/Leave, Drop, etc. events you need to use WPF build-in DragDrop mechanisms. More Information could be found in this article - http://msdn.microsoft.com/en-us/library/ms742859.aspx.

So, in order to achieve the desired behavior with Telerik DragAndDropManager you can check the attachment project where I have demonstrated simple way of achieving it.

Currently, we are also working on some improvements in this area which will allow achieving with just few lines of code.

Let me know if have any further questions.

Best wishes,
Tsvyatko
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
OverCoded
Top achievements
Rank 2
Answers by
Tsvyatko
Telerik team
Share this question
or