It's easy to set CSSClass in the codebehind, but this runs the risk of overwriting existing classes.
I need to set certain elements to ReadOnly = true; and i'd like to apply a style as a visual cue that the item cannot be altered... easy enough
.CSSClass += " ReadOnlyStyle";
But then I equally need to change the same element to ReadOnly = false; so I need to remove the CSSClass i set, without killing off any other styles that might be applied.
What's the best way to do this?