Problem with NeatUpload in Firefox

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.
3/29/2013 8:44:13 AM
Gravatar
Total Posts 18439

Re: Problem with NeatUpload in Firefox

My preliminary proof of concept work with the blueimp jquery file upload is looking promising though it will require implementing service pages for posting the uploaded files for the various features where it will be used. Multi file selection and progress bar work in the latest versions of IE, FF,  and Chrome with no need for flash and there will be no medium trust problems. I've still got some more work to do on it before I can start integrating it in mojoPortal but I like how it is working so far.

4/9/2013 3:24:24 PM
Gravatar
Total Posts 18439

Re: Problem with NeatUpload in Firefox

I've just updated the demo site with the new file uploader if anyone wants to check it out. In modern browsers it supports drag and drop and a progress bar, no flash is used.

4/9/2013 3:40:49 PM
Gravatar
Total Posts 91

mojoPortal Hosting & Design @ i7MEDIA!

Re: Problem with NeatUpload in Firefox

Looks awesome Joe.  I'm just glad to get rid of NeatUpload. lol  Just curious, but what led you to using to div elements for the progress bar instead of a HTML5 progress element?

4/9/2013 3:48:02 PM
Gravatar
Total Posts 18439

Re: Problem with NeatUpload in Firefox

I'm using jQueryUI progress bar which I was already familiar with using in the Newsletter send and since we already have it built in. It does depend on browser support for file upload progress but provides a consistent ui across supported browsers. Actually didn't know there was such a thing as progress element in html 5, that is interesting, might have to try it.

4/9/2013 4:08:45 PM
Gravatar
Total Posts 91

mojoPortal Hosting & Design @ i7MEDIA!

Re: Problem with NeatUpload in Firefox

Ok, like I said, I was just wondering.

Yeah, there are a lot of new elements in HTML5. It's not hard to miss it if you aren't digging around for it. Here's a few links to some info on the progress element:

http://caniuse.com/progressmeter (Browser Support)
Styling Progress Elements (This demo works in WebKit browsers only)
http://www.useragentman.com/blog/2012/01/03/cross-browser-html5-progress-bars-in-depth/ (A year old post, but it's still applicable)
http://css-tricks.com/css3-progress-bars/ (This doesn't use the progress element, but you can use his style for it if you wanted)
http://html5doctor.com/the-progress-element/

I've been going through your development videos lately, so how you made the uploader sparks my interest. What files can I look at to see what you've done?

4/9/2013 5:54:12 PM
Gravatar
Total Posts 18439

Re: Problem with NeatUpload in Firefox

Hi Elijah,

For your intertest...

There is basically a configurable control that inherits from the standard asp.net FileUpload control but then the input for that is replaced by javascript, so if javascript is disabled in the web browser it can still work using normal form post with the file to upload. But the javascript uses a service url which is feature specific and implemented for each feature that uses it to enforce the needs and security requirements that vary by the specific feature. So each feature has a fallback implementation to handle the upload in the page or usercontrol that would be used if javascript was disabled but generally the upload will be handled by the service url. For cms features there is a base class for the upload hander to enforce some common security logic for page and module edit permissions.

To see the bare bones of it though, there is a new web project in the source code for prototype work and I first implemented the control there, there is this example page that hosts the control as well as an example service url to handle the file upload with no security since it is only meant for proof of concept on a dev machine. This prototype web project is much more light weight than running the large mojoportal solution. There are still a few things I need to finish on the upload control before the next release though, even though I've gone ahead and replaced NeatUplaod with  it.

You can test the no javascript fallback in the prototype project by putting the local dev url for it in the restricted zone in IE which blocks javascript.

The css for this was added to the /Data/style/common/style.css

Best,

Joe

4/9/2013 7:41:07 PM
Gravatar
Total Posts 91

mojoPortal Hosting & Design @ i7MEDIA!

Re: Problem with NeatUpload in Firefox

Thanks Joe! I appreciate the info.

One thing real quick, I noticed a typo for the  .CS sheet. "jQeuryFileUpload.cs".  The "u" and "e" are mixed around in both the name and the public class.

Thanks again!
-Elijah

4/10/2013 9:41:36 AM
Gravatar
Total Posts 18439

Re: Problem with NeatUpload in Firefox

Man, I am constantly transposing characters like that and not noticing it, I really must have some form of dyslexia. I just corrected this in the source code repository.

Thanks,

Joe

4/10/2013 1:38:02 PM
Gravatar
Total Posts 83
-- Joe

Re: Problem with NeatUpload in Firefox

Joe,

This file upload solution is outstanding!  And I believe there are more features that the previous version.

One question - the "Select Files..." span doesn't seem to use the CSS for buttons (art-buttons).  Was that by design? 

Thank you for this great fix/update!  Cant wait to use it in the next release of MojoPortal.

-- Joe Vago

4/12/2013 12:44:24 PM
Gravatar
Total Posts 18439

Re: Problem with NeatUpload in Firefox

Hey Joe,

I've updated it to be able to support Artisteer button style and updated the demo site and related skins.

Best,

Joe

4/12/2013 1:48:28 PM
Gravatar
Total Posts 83
-- Joe

Re: Problem with NeatUpload in Firefox

As always, you rock Joe!

Thanks again

-- Joe Vago

You must sign in to post in the forums. This thread is closed to new posts.