mardi 30 juin 2015

Upload file using jQuery and post it to Controller

I'm wondering if it would be possible at all to upload a file by posting it to a controller action in ASP.NET MVC. The dialog for this upload form will be dynamically generated and will be inside a jQuery dialog in my case.

I'm aware of the file input element but I'm not sure how to send the file to a controller action, not sure how to set the action parameter

Aucun commentaire:

Enregistrer un commentaire