In the Infor CRM (formerly Saleslogix) web client, a read only control has a css style applied to it to make the background appear grey. This can be overriden via server side code by adding something like this on the form load event of a quick from.
MyControl.Style[“background-color”] = System.Drawing.ColorTranslator.ToHtml(System.Drawing.Color.FromArgb(255,105,105)).ToString() + “!important”;
The key thing here is appending on the “!important” string to the end. This will cause the style applied from the CSS class to be overriden. Without this your attempt to set the color would be negated once the form opens and the CSS was applied.