How to upload image in ASP.NET MVC 4 using ajax or any other technique without postback?

前端 未结 7 1745
鱼传尺愫
鱼传尺愫 2020-12-05 05:40

I am developing a website in MVC 4, where user fill some information and save it to upload. all the information except image is being saved on server using Javascript, Json

7条回答
  •  春和景丽
    2020-12-05 06:30

    I personally don't prefer to use any kind of third party tool other than java script, css or html. I will go with first approach shown by UmairP. But if you want to spare your self for writting to much of a code. Here is a nice plugin of jquery.

    And also there is a demo for asp.net mvc with this plugin.

    Please have a look. Let me know if any further information needed.

提交回复
热议问题