How to change background color of row in repeater control , when MouseOver on it?

CGN007
Posted by CGN007 under ASP.NET category on | Points: 40 | Views : 5573
    <asp:Repeater ID="Questions" runat="Server" EnableViewState="False">
<ItemTemplate>

<table><tr style="cursor:hand" onmouseover="style.backgroundColor='Yellow'" onmouseout="style.backgroundColor=''">

<td style="border:0;">
<div class="Questionlink">
<a href="title" > content in row goes in this place</a>
</div>
</td>
</tr></table>
</ItemTemplate>
<SeparatorTemplate><hr style="color:#E1EEFA; border-color:#E1EEFA;" noshade="noshade"/></SeparatorTemplate>
</asp:Repeater>


<tr style="cursor:hand" onmouseover="style.backgroundColor='Yellow'" onmouseout="style.backgroundColor=''"></tr>

Comments or Responses

Login to post response