Is it something that the user is supposed to see? Or not.
Usually if i have values i want to hide from the user, i will use the
following:
<input type=""hidden" id="hdnMyValue" runat="server" >
(in 2.0 there is actually an asp Hidden control type)
If you do want the user to see the box, then instead of disabling it, you
could set it to be ReadOnly.
How are you coding your textbox? Are your using
<asp:textbox id=txtMyBox runat=server enabled=false />
or are you using
<input type=textbox disabled=true />
<ma**@mailinator.comwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
hello,
is it expected behavior (in 1.1) for a disabled=true textbox to *not*
maintain its value upon postback?
if so, this is disappointing. often times in my app i need to "lock"
textboxes, reserving them for automated javascript entry only, not
manual. but id still like to pick up their values on postback.
i have work arounds i can employ, but i wanted to confirm this
behavior.
thanks,
matt