This is a migrated thread and some comments may be shown as answers.

use skin & change font color?

3 Answers 124 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
matt
Top achievements
Rank 1
matt asked on 09 Oct 2008, 10:10 PM
hello,

i am using the RadFormDecorator control on my app on checkboxes only. i like the images for the checkboxes, but i do not like that the text color becomes gray.
 
to change this i thought id use the ForeColor property, like so:

<Telerik:RadFormDecorator id="radFormDecorator" DecoratedControls="CheckBoxes" ForeColor="black" Skin="Web20" runat="server" /> 


...yet, this produces no visible result in IE7.

how can i accomplish this?


thanks,
matt

3 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 10 Oct 2008, 08:52 AM
Hello Matt,

To change the color of checkboxes / radiobuttons, you can use the following styles:

checkboxes
.Web20.radfdCheckboxChecked {color: red !important;}
.Web20.radfdCheckboxUnchecked {color: green !important;}

radiobuttons:
.Web20.radfdRadioUnchecked {color: pink !important}
.Web20.radfdRadioChecked {color: blue !important}

Greetings,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
matt
Top achievements
Rank 1
answered on 15 Oct 2008, 04:15 PM
georgi,

for my ASP.NET CheckBoxLists, your example works only for unchecked items. it doesnt style checked items.

i dont see an immediate typo. suggestions?


thanks,
matt
0
matt
Top achievements
Rank 1
answered on 15 Oct 2008, 04:16 PM
ah, i had inadvertently copied an erroneous character. fixed.

works! thanks


matt
Tags
FormDecorator
Asked by
matt
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
matt
Top achievements
Rank 1
Share this question
or