F
fabrice
Hi,
I have a trouble with my TextBox Control and it's ViewState in my form...
The property for it, is FALSE as following :
<form id="frmSearchBre4" runat="Server">
<asp:textbox id="myID" TabIndex="1" EnableViewState="false" MaxLength="50"
runat="server" TextMode="SingleLine">
</asp:textbox>
<asp:ListBox Width="200" Font-Size="10" Font-Name="Arial" id="myid2"
rows="4" Enabled="true"
EnableViewState="false" runat="server">
</asp:ListBox>
</form>
In my web.config :
<pages buffer="true"
enableSessionState="true"
enableViewStateMac="true"
validateRequest="true"
autoEventWireup="true">
</pages>
But when the page is a "postbak" the value of th TextBox control is
maintained. Not in the listBox control (it's right)...I don't know why...
Have you got an explanation ?
Thanks a lot
fabrice
I have a trouble with my TextBox Control and it's ViewState in my form...
The property for it, is FALSE as following :
<form id="frmSearchBre4" runat="Server">
<asp:textbox id="myID" TabIndex="1" EnableViewState="false" MaxLength="50"
runat="server" TextMode="SingleLine">
</asp:textbox>
<asp:ListBox Width="200" Font-Size="10" Font-Name="Arial" id="myid2"
rows="4" Enabled="true"
EnableViewState="false" runat="server">
</asp:ListBox>
</form>
In my web.config :
<pages buffer="true"
enableSessionState="true"
enableViewStateMac="true"
validateRequest="true"
autoEventWireup="true">
</pages>
But when the page is a "postbak" the value of th TextBox control is
maintained. Not in the listBox control (it's right)...I don't know why...
Have you got an explanation ?
Thanks a lot
fabrice