stephenk1973
Technical User
I have a gridview showing the stock level of a number of different items, the values sit into a grid of 12 columns relating to 12 possible sizes, the size range of each item can be different ( examples 1,2..12 or S,M,L), i have returned these in a further 12 hiddne columns in the gird.
How i get retrieve these values on a "mouseover" event? Currently i'm using jave to change colour for the select row....
Any suggestion appreciated.
Code so far...
Protected Sub GridView1_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GridView1.RowDataBound
If e.Row.RowType = DataControlRowType.DataRow Then
e.Row.Attributes.Add "onmouseover", "this.style.backgroundColor='yellow'")
e.Row.Attributes.Add "onmouseout", "this.style.backgroundColor=''")
Thanks
Stephen
How i get retrieve these values on a "mouseover" event? Currently i'm using jave to change colour for the select row....
Any suggestion appreciated.
Code so far...
Protected Sub GridView1_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GridView1.RowDataBound
If e.Row.RowType = DataControlRowType.DataRow Then
e.Row.Attributes.Add "onmouseover", "this.style.backgroundColor='yellow'")
e.Row.Attributes.Add "onmouseout", "this.style.backgroundColor=''")
Thanks
Stephen