Setting an asptextbox to read only from the code behind
Posted
by Anthony
on Stack Overflow
See other posts from Stack Overflow
or by Anthony
Published on 2010-04-27T19:06:31Z
Indexed on
2010/04/27
19:23 UTC
Read the original article
Hit count: 562
I need to change the readonly property of a asptextbox from the code behind based on certain conditions.
I know how to run a function when the page loads, but I don't know how to reference the form fields to change the readonly property.
Can anyone point me in the right direction?
Thanks in advance,
Anthony
© Stack Overflow or respective owner