File Upload as Part of Form with Other Fields

后端 未结 2 1104
南方客
南方客 2021-01-02 08:13

I have an ASP.NET MVC website. I need a page where the user must enter several fields, including an image file.

I could find many, many references for uploading a fi

2条回答
  •  轮回少年
    2021-01-02 08:36

    You can use FineUploader. See Demo

    Valums Uploader. It uses pure Javascript (uploads file using Iframe)

    You might need to use a client plugin. Plupload is one possible choice. And here's an example of how you could integrate it in your MVC application. Another popular plugin which supports this functionality is Uploadify.

    Asp.net mvc 3 file uploads using the fileapi

    See Progress Demo 1, 2 & 3 at http://jquery.malsup.com/form/#file-upload

    Ref: http://forums.asp.net/t/1897410.aspx/1?MVC4+File+Upload

提交回复
热议问题