//Try with this I hope this will help you
$(document).ready(function() {
$('[id*=GridView1] tbody tr').mouseover(function() {
$(this).removeClass('RowStyle');
$(this).addClass('highlightRow');
}).mouseout(function() {
$(this).removeClass('highlightRow');
}).click(function() {
$(this).toggleClass('selectedRow');
});
});
Please Dont't Forget to Mark As Answer if it helps you.
Custom watermark on PDF Thanks and Regards
Ravi Mathpal
RaviSM
Contributor
2622 Points
589 Posts
Re: gridview mousehover AlternatingRowStyle
Feb 24, 2011 08:27 AM|LINK
//Try with this I hope this will help you $(document).ready(function() { $('[id*=GridView1] tbody tr').mouseover(function() { $(this).removeClass('RowStyle'); $(this).addClass('highlightRow'); }).mouseout(function() { $(this).removeClass('highlightRow'); }).click(function() { $(this).toggleClass('selectedRow'); }); });Custom watermark on PDF
Thanks and Regards
Ravi Mathpal