When the form is submitted, the selected file is not saved to the media folder, or anywhere else that I can see. It's as though the submit process is just ignoring the file.
There are no errors in the log.
Is there some special configuration that I need to do to get the FileUpload to work?
I have also tried installing Perplex Form package and using their ImageUpload field but I have the same issue.
EDIT: In FileUpload.ProcessSubmittedValue, context.Request.Files is null, but I don't know why...
File upload not working
I have a form with a FileUpload field.
When the form is submitted, the selected file is not saved to the media folder, or anywhere else that I can see. It's as though the submit process is just ignoring the file.
There are no errors in the log.
Is there some special configuration that I need to do to get the FileUpload to work?
I have also tried installing Perplex Form package and using their ImageUpload field but I have the same issue.
EDIT: In FileUpload.ProcessSubmittedValue, context.Request.Files is null, but I don't know why...
EDIT: I'm using WebForms, not MVC - could this be why?
Hi,
I've got the exact same issue - can you please share if you fixed this and, if so, what the fix was.
Thanks
Hi, Not entirely sure how I fixed it as it was a while ago.
I did find this comment in our source control dated the day after my original post:
" Added Razor layout pages as FileUpload only seems to work when FormPage is MVC based, not WebForms"
is working on a reply...