Felix Aballi
Felix Aballi

Reputation: 949

Upload files by Ajax.BeginForm in ASP.NET MVC3

How could I upload files or images to the server by these means:

I would like using Ajax.BeginForm() for handling users profiles.

It would give the mechanism for processing Json responses from server and update message containers information.

Upvotes: 3

Views: 3915

Answers (1)

Dave Alperovich
Dave Alperovich

Reputation: 32500

You can't upload a file using Ajax.BeginForm

You can use JQuery Plugins or Uploadify

http://blueimp.github.com/jQuery-File-Upload/

http://www.uploadify.com/

Upvotes: 2

Related Questions