Note that there are some explanatory texts on larger screens.

plurals
  1. POMVC3 Valums Ajax File Upload
    primarykey
    data
    text
    <p>I'm trying to use valums ajax uploader. <a href="http://valums.com/ajax-upload/" rel="noreferrer">http://valums.com/ajax-upload/</a></p> <p>I have the following on my page:</p> <pre><code>var button = $('#fileUpload')[0]; var uploader = new qq.FileUploader({ element: button, allowedExtensions: ['jpg', 'jpeg', 'png', 'gif'], sizeLimit: 2147483647, // max size action: '/Admin/Home/Upload', multiple: false }); </code></pre> <p>it does post to my controller but qqfile is always null. I tried these:</p> <pre><code>public ActionResult Upload(HttpPostedFile qqfile) AND HttpPostedFileBase file = Request.Files["file"]; </code></pre> <p>without any luck.</p> <p>I found an example for ruby on rails but not sure how to implement it in MVC <a href="http://www.jigsawboys.com/2010/10/06/ruby-on-rails-ajax-file-upload-with-valum/" rel="noreferrer">http://www.jigsawboys.com/2010/10/06/ruby-on-rails-ajax-file-upload-with-valum/</a></p> <p>In firebug i see this: <a href="http://localhost:61143/Admin/Home/Upload?qqfile=2glonglonglongname+-+Copy.gif" rel="noreferrer">http://localhost:61143/Admin/Home/Upload?qqfile=2glonglonglongname+-+Copy.gif</a></p> <p><img src="https://i.stack.imgur.com/c1IxN.png" alt="enter image description here"></p> <p><img src="https://i.stack.imgur.com/h4lV8.png" alt="enter image description here"> <img src="https://i.stack.imgur.com/56PYm.png" alt="enter image description here"></p> <p><img src="https://i.stack.imgur.com/56PYm.png" alt="enter image description here"></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload