title: Asp.Net MVC Razor FileUpload Html Helper into existing View
body: <p>I have have a View where I add products to a simple WebStore. I want to have multiple images with one product. That's why I use FileUpload from Microsoft.Web.Helpers. The use of FileUpload in my View is like this:</p>
  
  <pre><code>@FileUpload.GetHtml("Upload", 5, true, true, addText: "Add more", uploadText: "Upload files")
  </code></pre>
  
  <p>Then I have some labels and fields for other product attributs like this:</p>
  
  <pre><code>&lt;div class="editor-field"&gt;&lt;br&gt;
      @Html.EditorFor(model =&gt; model.Title)&lt;br&gt;
      @Html.ValidationMessageFor(model =&gt; model.Title)&lt;br&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The problem is that when I use post method, my controller does not get anything. I use controller like this:</p>
  
  <pre><code>[HttpPost]
  public ActionResult Create(Product product, IEnumerable&lt;HttpPostedFileBase&gt; fileUpload)
  {
      foreach (var file in fileUpload)
      {
          var fileName = Path.GetFileName(file.FileName);
      }
  
      return RedirectToAction("Index");
  }
  </code></pre>
  
  <p>So does anyone have any idea what I am doing wrong. Because my FileUpload object is always empty.</p>