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

Remove hover css

1 Answer 85 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 29 Jun 2012, 07:25 PM
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.

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 02 Jul 2012, 04:08 AM
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.
Tags
ListBox
Asked by
Brian
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or