Drag and drop file from external program to XBAP

5 posts, 0 answers
  1. Chris
    Chris avatar
    9 posts
    Member since:
    Feb 2011

    Posted 28 Feb 2014 Link to this post

    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
  2. Chris
    Chris avatar
    9 posts
    Member since:
    Feb 2011

    Posted 28 Feb 2014 Link to this post

    Update: It seems working on Windows XP + IE 8 but DON'T work on Window 7 (x64) + IE 10

    Chris
  3. UI for WPF is Visual Studio 2017 Ready
  4. Yoan
    Admin
    Yoan avatar
    1066 posts

    Posted 05 Mar 2014 Link to this post

    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!

  5. Chris
    Chris avatar
    9 posts
    Member since:
    Feb 2011

    Posted 06 Mar 2014 in reply to Yoan Link to this post

    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 
  6. Yoan
    Admin
    Yoan avatar
    1066 posts

    Posted 11 Mar 2014 Link to this post

    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.

Back to Top
UI for WPF is Visual Studio 2017 Ready