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

AsyncUpload | DropZone ColorSwitch in IE doesn't work

1 Answer 78 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Wolfgang Erlebach
Top achievements
Rank 1
Wolfgang Erlebach asked on 27 Feb 2014, 04:08 PM
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?

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 04 Mar 2014, 03:00 PM
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!

Tags
AsyncUpload
Asked by
Wolfgang Erlebach
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or