B
Bob Owens
Hi all,
I have an html form (generated by asp.net of course) with several
DropDowns and text boxes on it. I'd like to handle things such that
every time the form is posted back this information is saved (to a
database in my case, but that's not important here) and the various asp
elements are reset to their "default" values. In other words I don't
want the controls to keep their postback values.
Instead, they're in "Night of the Living Dead" mode. They keep coming
back with these postback values no matter what.
How can I force my controls to forget their previous state? I've
disabled the enableviewstate property on some of them, only to learn
that the viewstate is _not_ responsible for these things retaining
their values on postback.
I have an html form (generated by asp.net of course) with several
DropDowns and text boxes on it. I'd like to handle things such that
every time the form is posted back this information is saved (to a
database in my case, but that's not important here) and the various asp
elements are reset to their "default" values. In other words I don't
want the controls to keep their postback values.
Instead, they're in "Night of the Living Dead" mode. They keep coming
back with these postback values no matter what.
How can I force my controls to forget their previous state? I've
disabled the enableviewstate property on some of them, only to learn
that the viewstate is _not_ responsible for these things retaining
their values on postback.