asp.net: gray out a textbox with enabled = false, but need to get the value

asp.net, readonly, textbox

Solution

@Keith setting `Readonly` attribute to input box will be good. You can gray out the text box by changing its background color.

Problem

I want to disable a textbox for a user. But in the textbox is a value, that I need to read. So I want the `readOnly` property (because I can read the value), but also want to gray out the box (function of `enabled = false`), that the user can see, he hasn't access to edit the textbox. Which is the best way to do this?

Original source