Partial view postback from a standard Html form with MVC

Posted by fearofawhackplanet on Stack Overflow See other posts from Stack Overflow or by fearofawhackplanet
Published on 2010-06-15T14:09:43Z Indexed on 2010/06/15 14:12 UTC
Read the original article Hit count: 278

I have a file upload button on my MVC view. After the file is uploaded, my FileList partial view on the page should refresh.

I tried to upload with Ajax.BeginForm(), but have discovered that Ajax will not submit file data.

I've got the file upload working now by using the jQuery Form plugin, which lets you ajaxify the normal Html.BeginForm() submit method.

Is is still possible to trigger the partial page update using this method?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about asp.net-mvc