Hello everyone,
I'm writing a web form to upload files. The page contains a number of
tables to maintain the design(which VS.NET complain at the begin, but I
resolved all of them later), a few HtmlInputFile object and a submit button.
When I press the button, the code behind will save the file if the filename
is not null.
However when I press the button, nothing happened. I set a breakpoint in
the first line of Submit_Click method and found its "value"="" and
"Postedfile"=<undefined>. I've tried to add EnableViewstate=true but it
still don't work.
Can anyone suggest what else I have to check to fix this problem? Any
help would be apperciated.
Thanks in advance.
Regards,
Lau Lei Cheong