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

DragDropManager Events are not fire?

2 Answers 218 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Quang Khải
Top achievements
Rank 1
Quang Khải asked on 18 Jan 2016, 03:09 PM

Hi all,

 

I'm trying creating row drag drop within a radgridview.

 Register events:

DragDropManager.AddDragOverHandler(AssociatedObject, OnDragOver);
DragDropManager.AddDropHandler(AssociatedObject, OnDrop);
DragDropManager.AddDragInitializeHandler(AssociatedObject, OnDragInitialize);
DragDropManager.AddDragDropCompletedHandler(AssociatedObject, OnDragCompleted);

 

I already tried with the belows, but unlucky.

DragDropManager.AddDragOverHandler(AssociatedObject, OnDragOver, true);
DragDropManager.AddDropHandler(AssociatedObject, OnDrop, true);
DragDropManager.AddDragInitializeHandler(AssociatedObject, OnDragInitialize, true);
DragDropManager.AddDragDropCompletedHandler(AssociatedObject, OnDragCompleted, true);

But OnDragOver, OnDragCompleted are not fire, the others are fire OK.

How can i get it works?

2 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 21 Jan 2016, 10:56 AM
Hi Jacky,

In general, the OnDragOver and OnDragCompleted events should be fired. I suggest you taking a look at the Drag and Drop within RadGridView help topic for more information on this matter. Moreover, if you review the relevant SDK Example through the SDK Samples Browser, you should be able to observe that the two events are properly raised.

I hope you will find the provided resources helpful.

All the best,
Stefan X1
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Quang Khải
Top achievements
Rank 1
answered on 26 Jan 2016, 01:39 AM

Hi Stefan,

 Thanks for your reply, this is useful for me. :)

Tags
GridView
Asked by
Quang Khải
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Quang Khải
Top achievements
Rank 1
Share this question
or