HoveredCssClass no working

2 posts, 0 answers
  1. Jocelyn
    Jocelyn avatar
    148 posts
    Member since:
    Jul 2012

    Posted 16 Jul 2012 Link to this post


    <telerik:RadButton runat="server" ID="menuBtn" AutoPostBack="false" OnClientClicked="BtnClick"
        HoveredCssClass="menuImageHover" CssClass="menuImage" PressedCssClass="menuImagePressed">
            <div id="mButton" class="mainMenuButton" runat="server">
                <table border="0">
                            <img id="icon" alt="" runat="server" />
                        <td style="width: 100%; text-align: center">
                            <span id="text" runat="server"></span>

        background-position: -150px;
        background-position: -300px;
        background: url('../Images/menu_button.png') no-repeat;
        height: 70px;
        width: 150px !important;
        position: relative;
        display: block;

    I got the image in the menuImage class, but when I hover or click on the button, nothing happens.

    Did I miss something?

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 18 Jul 2012 Link to this post

    Hi Jocelyn,

    The following css works as expected at my end.

     background-position: -150px!important;
     background-position: -300px!important;

    Hope this helps.

  3. DevCraft R3 2016 release webinar banner
Back to Top