Problem changing a cells colour

  • Thread starter Thread starter Simon Harvey
  • Start date Start date
S

Simon Harvey

Hi,

I'm trying to do something really simple but cant get it to work. I was just
playing around with the InitializeRow event. I wanted to do something very
simple to start off with but I cant even get that to work.

Can anyone help me with why this code below isn't turning the back colour of
the cells red?
The cells come out in their normal colour. Its like the event isnt being
fired.

private void UltraWebGrid1_InitializeRow(object sender,
Infragistics.WebUI.UltraWebGrid.RowEventArgs e) {
e.Row.Style.BackColor = Color.Red;
}

Thanks

Kind regards

Simon
 
Back
Top