Dear all
I having grid view with ten rows. when i take the cursor on the row, it should show the link with some background color.
Each row will then behave like a link, and when you select one it can drive the behavior of another control(s) on your page
i am using following code.. but its not working ...
pl send me new idea or if correct this if i m doing any wrong.
protected void PeopleGridView_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Attributes["onmouseover"] = "this.style.background-color:#b0e0e6;this.style.cursor='hand';this.style.textDecoration='underline';";
e.Row.Attributes["onmouseout"] = "this.style.textDecoration='none';";
e.Row.Attributes["onclick"] = ClientScript.GetPostBackClientHyperlink(this.PeopleGridView, "Select$" + e.Row.RowIndex);
}
}