"perspolis" <re*****@hotmail.com> wrote in message news:<u5**************@TK2MSFTNGP15.phx.gbl>...
how can i highlight a row in the datagrid??
To Highlight rows during mouseover:
// add this to .net code after you bind the grid
foreach (DataGridItem dgi in myDataGrid.Items)
{
dgi.Attributes.Add("onmouseover", "this.style.backgroundColor='#0000ff'");
dgi.Attributes.Add("onmouseout", "this.style.backgroundColor='#ffffff'");
}
-jerry