I am using the "Basic usage" of the Upload control in ASP.NET MVC and Internet Explorer version 9.0.8112.16421
After I select the file to upload and click "Submit", my Submit() action is indeed called, but "IEnumerable<HttpPostedFileBase> files" contains zero files in the called method:
public ActionResult Submit(IEnumerable<HttpPostedFileBase> files)
{
:
:
}
How can I get the actual files to be uploaded?
Thanks.
After I select the file to upload and click "Submit", my Submit() action is indeed called, but "IEnumerable<HttpPostedFileBase> files" contains zero files in the called method:
public ActionResult Submit(IEnumerable<HttpPostedFileBase> files)
{
:
:
}
How can I get the actual files to be uploaded?
Thanks.