Problem changing a cells colour

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top