hi every body
how can i change gridview cell background color in arrows move when i move to the cell with keyboard arrows the cell color changed to the color i need when i leave it . it change to another one ?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
alaaPosted May 24, 2015, 3:31 AM
hadoop hadoopPosted May 24, 2015, 12:41 AM
Pankaj Kumar ChoudharyPosted May 23, 2015, 10:45 PM
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Attributes.Add("onmouseover",
"this.originalcolor=this.style.backgroundColor;" + " this.style.backgroundColor='#FDCB0A';");
e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor=this.originalcolor;");
}
}