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?
Yeah you could use the success option in the .ajaxForm to pass back data from the file upload and then pass that data to the PartialView or just refresh the partial.