G
Guest
I have a situation where the htmlcontrols are not reflecting changes made to
the textboxes when the page is returned to the server. I have a set of
textboxes configured like so:
[System.Web.UI.HtmlControls.HtmlInputText]
<input id=txtLastName tabIndex=1 type=text size=25 name=txtLastName
runat="server">
When I change the text and then press an htmlbutton configured so:
[System.Web.UI.HtmlControls.HtmlInputButton]
<input type=button id="btnSave" name=btnSave value="Save Profile"
runat=server style="WIDTH: 120px">
In the click event the for the button if you check btnSave.Value it has the
old value not the new one. However, if I check the request itself I can
find the item with the altered value.
Have I somehow configured something incorrectly? It is just like my Login
screen which, by the way, works correctly.
Any suggestions would be appreciated.
Thanks,
Steve
the textboxes when the page is returned to the server. I have a set of
textboxes configured like so:
[System.Web.UI.HtmlControls.HtmlInputText]
<input id=txtLastName tabIndex=1 type=text size=25 name=txtLastName
runat="server">
When I change the text and then press an htmlbutton configured so:
[System.Web.UI.HtmlControls.HtmlInputButton]
<input type=button id="btnSave" name=btnSave value="Save Profile"
runat=server style="WIDTH: 120px">
In the click event the for the button if you check btnSave.Value it has the
old value not the new one. However, if I check the request itself I can
find the item with the altered value.
Have I somehow configured something incorrectly? It is just like my Login
screen which, by the way, works correctly.
Any suggestions would be appreciated.
Thanks,
Steve