Hi everybody,
I have this:
[code]
Protected Sub gvBewerking_RowDataBound(sender As Object, e As GridViewRowEventArgs) Handles gvBewerking.SelectedIndexChanged
e.Row.Attributes.Add("OnMouseOver", "this.style.backgroundColor = '#eeeeee';this.style.cursor = 'hand';")
e.Row.Attributes.Add("OnMouseOut", "this.style.backgroundColor = '#ffffff';")
End Sub
[/code]
to highlight row. but this is not working.
THANKS
Loading
Mahesh AllePosted Dec 2, 2013, 9:47 AM
Add CSS to the top:
Basically, wrap everything in your ItemTemplate in a div, like so: