Trying to implement the Blueimp jQuery file loader and I have a frustrating time, forcing it to work in my ASP.NET MVC3 C # web application. Its very difficult to determine which jQuery and css are included (and which are not) when linking to the official documentation or Blueimp questions on this site.
Can someone provide a working implementation of a bare-bones form containing a file input selector (rather than multiple files), one “Download” button, one “Cancel” button and a progress bar? After selecting one file, clicking “Download” should cause an AJAX call to “UploadFile” in the FileController (which is already encoded and working, and takes the HttpPostedFileBase parameter) and updates the progress bar without writing back the form. There is also no need to add the file name to the list of downloaded files (as demonstrated by the Blueimp demo), as the user can select only one file in this project.
Thanks to everyone who is enough to spare me from my suffering on this.
source share