Client Script Problem

Discussion in 'ASP.NET / ASP.NET Core' started by brightmosquito, Jan 4, 2005.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. When I use HTML, I can use OnMouseOver event like this (change row color when OnMouseOver or OnMouseOut):

    <table bgcolor="#CCCCCC">
    <tr onMouseOver="bgColor='#999999'" onMouseOut="bgColor='#CCCCCC'">
    <td>Text</td>
    </tr>
    </table>

    but right now I'm using DataGrid, how can I achieve this OnMouseOvereffect?
     
  2. I entered this into Google, 'datagrid mouseover' and the first hit on DotNET247 is a response from Jim Ross with a code snippet shoing how to do it. For DataGrid modifications I've found ItemDataBound to also be useful on occasion.
     
  3. found it. thanks
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page