Remove hover css

2 posts, 0 answers
  1. Brian
    Brian avatar
    12 posts
    Member since:
    Apr 2012

    Posted 29 Jun 2012 Link to this post

    The rblHovered css class get's applied to list items in the listbox when I hover over the list item. How do you remove this effect? I can't seem to override the css :hover.
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 01 Jul 2012 Link to this post

    Hi Brian,

    Try the following Javascript to achieve your scenario.

    JS:
    <script type="text/javascript" >
     function OnClientMouseOver(sender, args)
       {
          args.get_item()._unhighlight();
       }
    </script>

    Hope this helps.

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top