Avatar of MikeMCSD
MikeMCSD
Flag for United States of America

asked on 

Making the whole cell a Hyperlink when mouse is moved over it

I want to make this whole cell (column) a hyperlink, so when the mouse is moved over it,
the cell back color changes, and you can click any where in the cell to go to the link.

<asp:TemplateField ItemStyle-Width="35%">
<ItemTemplate>
<a href="ProductDetails.aspx?ProductId=<%#Eval("ProductId")%>" style="font-size:14px;">
<%#Server.HtmlEncode(Eval("Name").ToString())%>
</a>
</ItemTemplate></asp:TemplateField>

How can I do this? thanks
ASP.NETCSSHTML

Avatar of undefined
Last Comment
dejaanbu

8/22/2022 - Mon