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

Drag and drop file from external program to XBAP

4 Answers 35 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 28 Feb 2014, 07:48 PM
Hi,

    After I upgraded to version 2013.3.1204.45, I am no longer able to drag and drop external files to the GridView on my XBAP application.

   Before the upgraded, I used the "RadDragAndDropManager.EnableNativeDrag = True " to allow drag and drop to my XBAP application and it worked very well. 

   With this new DragAndDropManager, what is the setting I have to set so I can have the drag and drop from extenernal program?
    
Thanks,
Chris

4 Answers, 1 is accepted

Sort by
0
Chris
Top achievements
Rank 1
answered on 28 Feb 2014, 09:19 PM
Update: It seems working on Windows XP + IE 8 but DON'T work on Window 7 (x64) + IE 10

Chris
0
Yoan
Telerik team
answered on 05 Mar 2014, 04:05 PM
Hello Chris,

I can see that you have taken the approach with the RadDragAndDropManager.  We are planning on removing it from our libraries with the Q2 2014 version, which is why I strongly recommend considering on migrating to our new mechanism - DragDropManager.  Please note that after Q2 2014, any code still running with RadDragAndDropManager will prevent you from upgrading. 

I am sending you a sample project demonstrating dragging from and to external programs. It is using the new DragDropManager and our RadGridView control.

I hope this helps.

Regards,
Yoan
Telerik

DevCraft Q1'14 is here! Join the free online conference to see how this release solves your top-5 .NET challenges. Reserve your seat now!

0
Chris
Top achievements
Rank 1
answered on 06 Mar 2014, 07:57 PM
Thanks Yoan.

Your example help a lot and I did make the DradDropManager working files drop from external programs.

I have another question, when I drag a external file over or about to drop to GridViewRow, for example, how can I get the position or set message along the drag (like feedback on the dragging operation, for example, 'Not Allow')?

Thanks,
Chris 
0
Yoan
Telerik team
answered on 11 Mar 2014, 03:10 PM
Hi Chris,

I can suggest you to check the Drag and Drop within RadGridView help article. There you can find information about how to define the drop indication details.

Regards,
Yoan
Telerik

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

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