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

Drag and drop to gridview cell

4 Answers 79 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 27 Jul 2010, 03:42 PM
Hi,

I have drag and drop working to your gridview control so that it adds another item to the grid perfectly. I am now trying to find out which particualr cell the user dropped to so I can add the payload of the drop to that particular cell. I cannot however find where to get which cell the user dropped to.

Any help would be appreciated.

Paul

Edit: I should also add that I achieved the drag and drop using the RadDragAndDropManager

4 Answers, 1 is accepted

Sort by
0
Tsvyatko
Telerik team
answered on 29 Jul 2010, 09:46 AM
Hello Paul,

I have prepared sample application, demonstrating how to get the elements below the mouse. Please have a look at it and let me if this fits in your case. If you have any other questions or issues do not hesitate to contact us.

Kind regards,
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
0
gabor
Top achievements
Rank 1
answered on 30 Mar 2011, 11:22 AM
Hi,

looking at the sample code I cannot understand one thing:
The OnGridDropInfo does not seem to run on the mouseButtonUp event. I'd expect it to run in this case.
Am I misunderstanding something?

Thanks,
Gabor
0
Tsvyatko
Telerik team
answered on 30 Mar 2011, 02:48 PM
Hello gabor,

 OnGridDropInfo is raised every time after OndropQuery approves (through e.QueryResult). More information about the Drag and Drop events can be found here - http://www.telerik.com/help/silverlight/raddraganddrop-events-overview.html

Kind regards,
Tsvyatko
the Telerik team
0
gabor
Top achievements
Rank 1
answered on 30 Mar 2011, 03:08 PM
Hi Tsvyatko,

thanks, that's of great help.

Cheers,
Gabor
Tags
DragAndDrop
Asked by
Paul
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
gabor
Top achievements
Rank 1
Share this question
or