J
John Blair
Hi,
I have the following code which suggests state information
will not be kept for the textbox - but when i submit the
form with textbox1.value ="ABC" and reshow the page it
shows "ABC" instead of "test" i.e. the initial value.
Any idea whats going on here?
Note: This property enableviewstate works ok for a datagrid i.e. if set to
false it does exactly what you expect!
<asp:TextBox id="TextBox1" runat="server"
EnableViewState="False">test</asp:TextBox></P>
I have the following code which suggests state information
will not be kept for the textbox - but when i submit the
form with textbox1.value ="ABC" and reshow the page it
shows "ABC" instead of "test" i.e. the initial value.
Any idea whats going on here?
Note: This property enableviewstate works ok for a datagrid i.e. if set to
false it does exactly what you expect!
<asp:TextBox id="TextBox1" runat="server"
EnableViewState="False">test</asp:TextBox></P>