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

Dropping a file on a RadGridView row

3 Answers 75 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Lee Francis
Top achievements
Rank 1
Lee Francis asked on 22 Jan 2013, 01:55 PM
Hi

I want to be able to drop a file from the desktop on to an existing row in a RadGridView. (The event handler will then do something with the file and manipulate the data for that specific row, but that isn't relevant for this discussion.)

Can anybody shed some light on how this can be achieved? I have managed to drop a file on the the RadGridView component itsself, but that's not what I want. I need to be able to drop on a specific row (or preferably have the option to drop on the RadGridView also if it doesn't conflict).

I am finding the Telerik documentation about drag and drop (using DragDropManager) hard to figure out since some of the examples just don't work (http://www.telerik.com/help/wpf/dragdropmanager-getting-started.html) and many of the example projects referred to in prior forum solutions seem to use the RadDragAndDropManager which I understand is soon to be obsoleted.

Anybody? 

3 Answers, 1 is accepted

Sort by
0
Yoan
Telerik team
answered on 25 Jan 2013, 03:40 PM
Hi Lee,


Indeed, you are absolutely right, the help article seems to be outdated. Please excuse us for the inconvenience caused. I have updated your Telerik points accordingly.
However, you can find this example in our online demo. You can find the same example in your local copy of WPF demos.

We will do our best to provide a working example that meets your requirements. We will post it here as soon as it is ready.

 

All the best,
Yoan
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Lee Francis
Top achievements
Rank 1
answered on 01 Feb 2013, 08:16 AM
Thanks for your reply. However, I'm a little unsure which of the examples illustrates how to drop "something" on a RadGridView row and not just the RadGridView itself. The closest is the example "Tree to Grid drag", but from what I can tell you are dropping on the gridview and not a specific row. 
0
Nick
Telerik team
answered on 01 Feb 2013, 08:24 AM
Hi Lee,

Have you looked into our Row Reorder example of the GridView? Does it illustrate how to achieve your goal?

All the best,
Nik
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
DragAndDrop
Asked by
Lee Francis
Top achievements
Rank 1
Answers by
Yoan
Telerik team
Lee Francis
Top achievements
Rank 1
Nick
Telerik team
Share this question
or