Asp.net mvc 3 jquery文件上传(blueimp)-IE9不支持多文件选择?
我根据blueimp使用jquery文件上传插件,IE9不允许根据以下代码或演示选择多个文件: 有人能提供解决方法或见解吗 视图: 控制器:Asp.net mvc 3 jquery文件上传(blueimp)-IE9不支持多文件选择?,asp.net-mvc-3,jquery-plugins,file-upload,multifile-uploader,blueimp,Asp.net Mvc 3,Jquery Plugins,File Upload,Multifile Uploader,Blueimp,我根据blueimp使用jquery文件上传插件,IE9不允许根据以下代码或演示选择多个文件: 有人能提供解决方法或见解吗 视图: 控制器: public class HomeController : Controller { public ActionResult Index() { return View(); } [HttpPost] public ActionResult Index(IEnumerable<HttpPost
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
[HttpPost]
public ActionResult Index(IEnumerable<HttpPostedFileBase> files)
{
foreach (var file in files)
{
var filename = Path.Combine(Server.MapPath("~/App_Data"), file.FileName);
file.SaveAs(filename);
}
return View();
}
}
对于Internet Explorer,您需要闪存回退,plupload可以做到这一点。对于Internet Explorer,您需要闪存回退,plupload可以做到这一点。我假设这是所有版本IE的永久问题:我假设这是所有版本IE的永久问题:
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
[HttpPost]
public ActionResult Index(IEnumerable<HttpPostedFileBase> files)
{
foreach (var file in files)
{
var filename = Path.Combine(Server.MapPath("~/App_Data"), file.FileName);
file.SaveAs(filename);
}
return View();
}
}