Mike Lockhart
Mike Lockhart

Reputation: 143

mvc 4 razor upload a file without submitting the page form

I am writing an MVC 4 app and need to allow the user to upload files, but don't want to submit the page's form when doing so. There is a bit of overhead in loading the whole form and I'd rather just update a partial on the page than reload it. I see this happening on other websites, but can't seem to get it to work for me.

Any hints?

Thanks, Mike

Upvotes: 1

Views: 5543

Answers (1)

ShaneKm
ShaneKm

Reputation: 21338

You can use: Fine Uploader

And will find MVC implementation here: MVC Ajax File Upload

Upvotes: 3

Related Questions