Nelviticus
Programmer
Apologies if this is a silly question, I haven't done a lot of ASP.Net.
I have an ASP.Net/C# page with a FileUpload control plus a few other controls, some of which have to perform AutoPostBack. Even though the EnableViewState property for my FileUpload control is set to True its properties get reset whenever another control does PostBack - all the properties relating to the chosen file get set back to the defaults.
Is there something obvious that I've overlooked or am I misunderstanding what EnableViewState means? I thought it meant that the control would keep its state when the form does a PostBack.
Regards
Nelviticus
I have an ASP.Net/C# page with a FileUpload control plus a few other controls, some of which have to perform AutoPostBack. Even though the EnableViewState property for my FileUpload control is set to True its properties get reset whenever another control does PostBack - all the properties relating to the chosen file get set back to the defaults.
Is there something obvious that I've overlooked or am I misunderstanding what EnableViewState means? I thought it meant that the control would keep its state when the form does a PostBack.
Regards
Nelviticus