[thelist] ReadOnly TextBox BackColor ??

Casey aspnet at thecrookstons.com
Fri Aug 12 18:45:01 CDT 2005


In ASP.NET, when a textbox is set to readonly="true", it gives the box an
ugly grey background.  Is it possible to change this color?

textBox.BackColor = System.Drawing.Color.White

That doesn't seem to do the trick.  I've tried CSS as well.  From what I've
found in Google, it might not be possible to play with this color.... am I
correct?

TIA



More information about the thelist mailing list