Ch. 4 Enable View State with FileUpload control
I checked the Enable View State using a FileUpload control using the same form that contains the calendar with "Set Date" and "Plain PostBack" buttons. I expected that the value would stay filled-in after a file was selected using the Browse button, but instead it was blanked out. What would cause this value to be blanked out? Both the website and the page itself were set to Enable View State = true.
Also, when I just type letters into the text box on the FileUpload control, and not an actual path or filename, it causes a page error when any postback event gets triggered. Curious as to what causes that to happen on the server, although this might be talked about later in the book.
Thanks for your help!
Gerry
|