In the PageLoad event, you can do
if(textbox.readonly)
textbox.backcolor = Color.gray;
else
textbox.backcolor = Color.yellow;
"Mike" <me@me.com> a écrit dans le message de
news:eI**************@TK2MSFTNGP09.phx.gbl...
On my update screen i want to change the textbox color to Yellow only if
the field is editable.
How can i do that within code?
thx