GridView - Urgent
-
I want to get the gridview's specified column highlighted onmouseover as well as the row. Can somebody help ? Kavita
Read this post on the asp Forum: http://forums.asp.net/p/1074580/1576884.aspx#1576884
-
I want to get the gridview's specified column highlighted onmouseover as well as the row. Can somebody help ? Kavita
-
In the rowCreated event, You can add and attribute to that cell. Example: e.Row.Cells(8).Attributes.Add("onMouseOver", "alert('do something')")
Hi, Thanks for the reply. But this does not solve the problem. It will highlight only one cell, I want to highlight the whole column on mouseover. For Eg: If I take the mouse on one cell of 2nd column then the complete column 2 should get highlighted and the corresponding row too. Kavita
-
I want to get the gridview's specified column highlighted onmouseover as well as the row. Can somebody help ? Kavita
Use Onrowdatabound event and write the code inside e.Row.Attributes["onmouseover"] = "this.style.cursor='hand';this.style.textDecoration='underline';";