Posted on: 9/12/2012 1:31:12 AM | Views : 222

Hi guys,
In my code I have this:
txtProgressIndicator.BackColor = FromName(SELECTED_COLOR) where txtProgressIndicator is a textbox and SELECTED_COLOR is a constant defined as
#B9B972
What I'm doing is just setting up the background color of the textbox. But this is not flexible because it is hardcoded, and I want to define it in CSS instead using a class name. So anytime I want to change color I don't have to recompile, but just needs to change the css file.
How can I achieve this?
Thanks
 
...

Go to the complete details ...