ASP.Net file upload with an empty posted files collection
Posted
by tooba
on Stack Overflow
See other posts from Stack Overflow
or by tooba
Published on 2010-05-24T15:51:04Z
Indexed on
2010/05/24
16:01 UTC
Read the original article
Hit count: 388
I have an ASP.NET file upload control which sits as part of a form. The file upload control is on the content page while the form definition is on a master page across the site. I've added multipart/form-enc to the form on the master page.
I'm using jQuery to submit the form as I show a dialog box from jQuery UI.
When I post, no file is returned to the server. The file upload control has no file and HttpFileCollection is empty. How can I find the posted file?
© Stack Overflow or respective owner