GridView Row Events

Last post 06-15-2006 2:08 PM by DallasSteve. 0 replies.

Sort Posts:

  • GridView Row Events

    06-15-2006, 2:08 PM
    • Member
      135 point Member
    • DallasSteve
    • Member since 08-17-2005, 8:48 PM
    • Dallas
    • Posts 141
    I'm using the GridView on my website and I'm trying to do certain row level behaviors that I'm sure I could do with client-side JavaScript, but I imagine there are some easier ways to do them.  I have a list of my certifications in a GridView control and I want the users to be able click on a row and display a list of the exams I took for that certification. I've been able to program the mousepointer/cursor to a hand using a CSS stylesheet.

    Is there an easy way to catch the onmouseover and onmouseout events so that the background color of a row will change as the users move over the rows? Maybe there is a way to set the CSS style and do that.

    Is there an easy way to catch the click event for each row? I don't want to add a button or link field because I think they look tacky.
    Dallas Steve
    www.SteveGaines.us/GSD/Home.aspx
Page 1 of 1 (1 items)