Re: ReadOnly by Scott
Scott
Sat Dec 20 01:35:52 CST 2003
ReadOnly does NOT change the text color of a Web Form (or HTML for that
matter) textbox. This is actually an HTML issue not a .NET one. Since web
form controls render in HTML, they must translate their property settings
into HTML. In HTML, ReadOnly does not change the color of the text.
If you are changing the ReadOnly property of a textbox and its text is
changing color, then something is wrong with your setup.
"Christian Ista" <mailing-list@istasofts.com> wrote in message
news:uGqZ%23asxDHA.3416@tk2msftngp13.phx.gbl...
>
> > Actually, changing the ReadOnly property to False does not change the
> > background color, changing the Enabled property does.
>
> I just tried, for both the color change.
>
> Christian,
>
>