locked
Rating control RRS feed

  • Question

  • User1401982410 posted

    The rating control seems to only be for a WHITE background.  Is this correct?  If so.. c'mon guys..

    Wednesday, June 4, 2008 9:02 PM

Answers

  • User-989915499 posted

    Hi There,

    FYI, the ratiing control is fully customisable.

    Example the rating images, background and etc can be alter in the cssclass

    <ajaxToolkit:Rating ID="ThaiRating" runat="server"
        CurrentRating="2"
        MaxRating="5"
        StarCssClass="ratingStar"
        WaitingStarCssClass="savedRatingStar"
        FilledStarCssClass="filledRatingStar"
        EmptyStarCssClass="emptyRatingStar"
        OnChanged="ThaiRating_Changed" />

    To Change your rating control background,

    set your rating control backcolor

    <ajaxToolkit:Rating ID="ThaiRating" runat="server" BackColor="Black"

    and change the rating images background match the control back color.

    Hope it helps!

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, June 4, 2008 10:33 PM

All replies

  • User-989915499 posted

    Hi There,

    FYI, the ratiing control is fully customisable.

    Example the rating images, background and etc can be alter in the cssclass

    <ajaxToolkit:Rating ID="ThaiRating" runat="server"
        CurrentRating="2"
        MaxRating="5"
        StarCssClass="ratingStar"
        WaitingStarCssClass="savedRatingStar"
        FilledStarCssClass="filledRatingStar"
        EmptyStarCssClass="emptyRatingStar"
        OnChanged="ThaiRating_Changed" />

    To Change your rating control background,

    set your rating control backcolor

    <ajaxToolkit:Rating ID="ThaiRating" runat="server" BackColor="Black"

    and change the rating images background match the control back color.

    Hope it helps!

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, June 4, 2008 10:33 PM
  • User1401982410 posted

     So, in addition to addding the attribute BackColor="Black" to the tag,  you're saying I have to edit each of the images in PhotoShop or something???

    Thursday, June 5, 2008 9:48 AM
  • User583989486 posted

    Hi Mgp22,

    If you want to change the Rating's showing style, please change the css and the images if necessary.  

    Best regards,

    Jonathan

    Monday, June 9, 2008 10:06 PM