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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Pankaj Kumar ChoudharyRank #80 · 24.4K reputationPosted May 23, 2015, 6:45 PM EDT
{
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;");
}
}
hadoop hadoop142 reputationPosted May 23, 2015, 8:41 PM EDT
alaa157 reputationPosted May 23, 2015, 11:31 PM EDT