AsyncUpload | DropZone ColorSwitch in IE doesn't work

2 posts, 0 answers
  1. Wolfgang Erlebach
    Wolfgang Erlebach avatar
    1 posts
    Member since:
    Sep 2009

    Posted 27 Feb 2014 Link to this post

    Hi,

    I spent a lot of time to fix the bug in my page.
    I have a "div", where i can drop files for my Telerik AsyncUpload-Control. This "div" changes color, when i'm dragging files to it, but not in IE, and i don't know why. 
    When i try the demo-page in IE it works fine (http://demos.telerik.com/aspnet-ajax/asyncupload/examples/draganddrop/defaultcs.aspx)

    I debugged my JavaScript-File and saw, that the $telerik.isIE10Mode isn't true. In Chrome the "isFile" gets true, so the color-change works (RadAsyncUpload.cs line 52).

    Do you know, how i can fix this bug?
  2. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 04 Mar 2014 Link to this post

    Hello,

    Please find attached a sample project that implements the desired functionality and it works find under IE browsers ( including IE10). Please note that a common mistake is to drag and drop file from file browser dialog. The file browser dialog is shown when user clicks on "Select" button next to the input element. File Upload with Drag and Drop works only if you drag and drop from already opened a folder with the windows explorer. If you click the "Select" button and drag and drop a file from the opened file browser dialog it will not work as you expect. The file browser dialog window is used only to select a file , but not for dragging and dropping. The attached project alerts with the $telerik.isIE10Mode value when drag a file over the drop zone as shown in this video.




    Regards,
    Boyan Dimitrov
    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!

  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top