use skin & change font color?

4 posts, 0 answers
  1. matt
    matt avatar
    259 posts
    Member since:
    Oct 2007

    Posted 09 Oct 2008 Link to this post

    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
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 10 Oct 2008 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. matt
    matt avatar
    259 posts
    Member since:
    Oct 2007

    Posted 15 Oct 2008 Link to this post

    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
  5. matt
    matt avatar
    259 posts
    Member since:
    Oct 2007

    Posted 15 Oct 2008 Link to this post

    ah, i had inadvertently copied an erroneous character. fixed.

    works! thanks


    matt
Back to Top