M
matt del vecchio
Hi,
Either this is a bug, or I'm missing something.. I have a webform that
uses viewstate to retain values for most of its text boxes. But a few
of them I want to always be reset on postback.
So, I thought the thing to do would be to disable the viewstate for
those items, like so:
<asp:TextBox ID="sku" runat="server" EnableViewState="False"/>
....however, this plain doesn't work. the form remembers that field
everytime it is posted back.
am i missing something else? i remember my instructor running into the
same problem during a training session once, and he thought it may be
a bug.
thanks,
matt
Either this is a bug, or I'm missing something.. I have a webform that
uses viewstate to retain values for most of its text boxes. But a few
of them I want to always be reset on postback.
So, I thought the thing to do would be to disable the viewstate for
those items, like so:
<asp:TextBox ID="sku" runat="server" EnableViewState="False"/>
....however, this plain doesn't work. the form remembers that field
everytime it is posted back.
am i missing something else? i remember my instructor running into the
same problem during a training session once, and he thought it may be
a bug.
thanks,
matt