1

file upload using ajax by retaining all the other information in the page.

tereško
  • 58,060
  • 25
  • 98
  • 150
ilfa hasan
  • 41
  • 1
  • 2
  • 3
  • File upload with ajax (xmlhttprequest) is not possible. There are some other methods. See for example: http://stackoverflow.com/questions/336446/fileupload-using-ajax-in-asp-net-with-c. (edit) A comment on this link says it's for mvc specifically: http://blog.codeville.net/2008/11/24/jquery-ajax-uploader-plugin-with-progress-bar/. – Spiny Norman Jan 20 '11 at 13:10

2 Answers2

1

I've used the ajaxForm plug-in for this, works pretty good (and is a pure JavaScript/jQuery solution).

fearofawhackplanet
  • 52,166
  • 53
  • 160
  • 253
0

asp.net mvc file upload ajax post

How can I upload a file via ASP.NET MVC and show a progress bar?

http://www.uploadify.com/

hope this helps

Community
  • 1
  • 1
Rafay
  • 30,950
  • 5
  • 68
  • 101