3

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.

1 Answer 1

2

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/

Sign up to request clarification or add additional context in comments.

4 Comments

How can I achieve this as you speak. Please, reference any example with these techniques.
@Félix, check this example for uploadify
@Félix, here is sample code for JQuery. It's fairly elegant. malsup.com/jquery/form
check this question, I do this with jquery form plugin. If you want to use it, I will give you an example with multiple uploads. stackoverflow.com/questions/14842842/…

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.