home / software / tips and tricks / How can I create an ASP.net Repeater which highlight the current row on 'mouseover'?

How can I create an ASP.net Repeater which highlight the current row on 'mouseover'?

Updated:  02/07/2009 03:02 AM
Author:  Shiju Mathews

Status:    Resolved.


There is no direct build in methods or property to achieve highlighting on pointing the cursor on a row. But this can be achieved using JavaScript event model. On each row add 'onmouseover' and 'onmouseout' events. Use this for ‘ItemTemplate and ‘AlternatingItemTemplate’ with proper color combinations.

Tags: How can I create an ASP.net Repeater which highlight the current row on 'mouseover'?
Updated on: March 2024