New file uploader and IE9

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
9/3/2013 1:06:52 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

New file uploader and IE9

Hi Joe, this weekend I finally got us caught up and we are now running mojoPortal at revision 5326. 

Unfortunately I had a miscommunication about testing with our group that uses the Shared Files module, and today they've found some issues using it with Internet Explorer 9. Specifically: they are not able to drag and drop onto the browser window (it ignores the drop), nor can they multiselect files for upload in the browse window (this is the bigger problem for them). When we try using it with IE 10, everything is perfect.

Are these known issues with IE9, and can they be fixed? We should be able to upgrade workstations to IE10 if necessary, but there are a lot of them to do, so we hope to work around this problem on the web server side for now, if possible.

Thanks!

Jamie

9/3/2013 1:30:52 PM
Gravatar
Total Posts 18439

Re: New file uploader and IE9

Hi Jamie,

That is correct, in replacing NeatUpload we are relying on modern web browser html 5 support for drag and drop, multi file selection and upload progress. IE 9 does not have adequate html 5 support for drag and drop nor multi file selection, those features were added in IE 10.

Older browsers are limited to one at a time file selection and upload.

While NeatUpload did support multi file selection and upload progress in older browsers, it only worked in full trust hosting and it used flash for the multi file selection which caused problems in some browsers. So the tradeoff removed all concerns for medium trust, removed the use of flash, and eliminated the need for a complex http module server side.

So, rolling out IE 10 is really the only solution to get the drag and drop and multi file selection and upload progress, other than Chrome or Firefox.

Best,

Joe

9/3/2013 1:38:41 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: New file uploader and IE9

Thanks for the explanation Joe, that really cleared it up for me.

Jamie

10/21/2013 1:58:18 PM
Gravatar
Total Posts 130

Re: New file uploader and IE9

Is there a way to disable the drag and drop feature? In our University environment, our Site Editors are all using IE 9 and having the drag and drop area that doesn't work will be confusing to them.

Thanks,

Beth

10/22/2013 1:55:08 PM
Gravatar
Total Posts 18439

Re: New file uploader and IE9

Hi Beth,

Yes, if you add this in the theme.skin file of your skin it should hide the drop zone

<portal:jQueryFileUpload runat="server"
    UseDropZone="false"
/>

Hope that helps,

Joe

1/30/2014 1:16:42 PM
Gravatar
Total Posts 130

Re: New file uploader and IE9

Hi Joe,

I applied the control to my theme.skin file in version 2.3.9.9 but now that I've upgraded to 2.4.0.2 (the control is still present in the theme.skin) the drag and drop functionality is present in the ckeditor file uploader.  This is problematic because in IE 9 not only does the drag and drop feature not work, but the overall functionality is impaired (when you upload a file the file manager doesn't refresh itself to indicate that the file was, in fact, uploaded).

Is there an additional step I've missed for disabling the drag and drop functionality in the file manager?

Thanks,

Beth

1/30/2014 1:53:32 PM
Gravatar
Total Posts 18439

Re: New file uploader and IE9

Hi Beth,

In previous versions we did not have the drop zone enabled in the editor file dialog, we added that in this version but there is a config setting you can use to turn it off from user.config:

<add key="FileDialogEnableDragDrop" value="false"/>

The theme setting works in pages where the skin and theme are applied but the file dialog page does not use any theme so its a separate setting there.

Hope that helps,

Joe

1/30/2014 3:33:27 PM
Gravatar
Total Posts 130

Re: New file uploader and IE9

Thanks Joe, updating the user.config as you suggested removed the Drag and Drop functionality for my mojo sites.  Unfortunately the behavior I mentioned in the previous post where in IE 9 CKeditor when I upload a file the dialog does not refresh to indicate that the upload was successful.  What is strange is that I'm unable to trigger an application error or a javascript error in the IE console.  I still have a working version of 2.3.9.9 to refer to (although it's no longer our 'live' version our users are utilizing) and the CKeditor file manager works as expected in IE 9.  I'm running the same versions of JQuery (1.9.1) and JQUI (1.10.12) in both mojo releases. I rolled back to the CKeditor from 2.3.9.9 (CKEditor v 421 down from v 431) to see if there was an incompatibility with the newest version and it seems to have made no difference.

I know this much:

  • JQuery versions are the same
  • Rolling back CKeditor to the last known working version made no difference
  • Updating the jqfileupload libraries to the newest versions made no difference
  • This problem is reproducible in IE9, mojo version 2.4.0.2 but not in 2.3.9.9
  • I have not been able to trigger a client or server-side error

Can you think of anything that I may have overlooked?

Thanks,

Beth

1/31/2014 10:23:29 AM
Gravatar
Total Posts 18439

Re: New file uploader and IE9

Hi Beth,

Can you produce the problem on our demo site? When I try IE 11 using IE 9 emulation on our demo site it seems to work ok but I don't have a real IE 9 client.

The editor version should not affect it, I would use the newest one, the file dialog page is its own thing it is not part of the editor it just invoked from there.

Thanks,

Joe

1/31/2014 10:33:34 AM
Gravatar
Total Posts 130

Re: New file uploader and IE9

Hi Joe,

Great idea. I just tried it on your demo site and it reproducing the same behavior in IE 9. Let me know if you want a screenshot.

~ Beth

1/31/2014 10:48:28 AM
Gravatar
Total Posts 18439

Re: New file uploader and IE9

Hi Beth,
 
I just emailed you a patched version of mojoPortal.Web.dll version 2.4.0.2 that has a new setting to force disabling the jquery file uploader so that it will use the standard .net file upload posting back to the page instead of the service url.
 
Add this to user.config then deploy the dll and it should go back to standard asp.net file upload functionality.
 <add key="ForceLegacyFileUpload" value="true"/>
 
Hope that helps,
 
Joe
You must sign in to post in the forums. This thread is closed to new posts.