How to upload multiple files with jQuery.filer plugin in ASP.NET MVC 5 using View Models

前端 未结 1 1021
慢半拍i
慢半拍i 2021-01-07 14:35

I am using jQuery.filer on a FileUpload control in an MVC5 project and I want to post multiple files from View to Controller

1条回答
  •  醉话见心
    2021-01-07 15:05

    =============================== S O L V E D ================================

    Here is the solution by @StephenMuecke. Many thanks for his huge help...

    View:

    @model ExperimentViewModel
    
    //Change 1
    @Html.TextBoxFor(m => m.FileUpload, new { type = "file", multiple = "multiple" })
    
    
    
                                     
                  
提交回复
热议问题