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

Regarding the Drag&drop in RadGridView

1 Answer 119 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ray Wang
Top achievements
Rank 1
Ray Wang asked on 06 Jul 2010, 07:46 AM
hi,telerik
    we are developing the winform application in telerik control,we used the RadGridView to display the data to the user,we listed all the files that came from a folder,we want to drag an item from RadGridView to desktop(item means a row,it display the information for a file,for example ,filename,datetime,author),but it failed ,it can trigger any events,or drag a file from desktop to RadGridView,it also failed,we have set the AllowDrop=true;i don't know how to implement this function,could u pls help me implement this function, it's very important to our project.my email is feiying0803@163.com;Thanks for you help...

1 Answer, 1 is accepted

Sort by
0
Svett
Telerik team
answered on 07 Jul 2010, 12:40 PM
Hi Ray Wang,

We will need you to reply to the questions we sent you in your "Several carousel issues" ticket in order to be of further help. Otherwise you will need to rely on community support solely.

As to your question, in order to enable drag & drop operations in the RadGridView you must process certain standard WinForms events. To enable dropping rows to other controls you must subscribe for MouseDown and MouseMove events and call the DoDragDrop function. To receive dropped rows you must process DragEnter, DragDrop and DragLeave events.

You can find additional information how to implement drag & drop operations on the MSDN site. Follow this link for more information:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/dragndropops.asp
 

All the best,
Svett
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
Ray Wang
Top achievements
Rank 1
Answers by
Svett
Telerik team
Share this question
or