I have a gridview with data, similar to your example gridview on conditional formatting. I copy / pasted the example code for conditional formatting but I don't get it to work properly.
The problem is that there is no initial formatting. The gridview has it's standard look. Only after clicking on a cell that contains the formatting-conditional text, the row gets the correct color. Your example seems to work fine, but I see no differences between that code and mine.
|radGridView1.CellFormatting += new CellFormattingEventHandler(radGridView1_CellFormatting);|
|radGridView1.DataSource = meterObjectValueList;|
|GridViewColumn col = radGridView1.MasterGridViewTemplate.Columns.FindByDataField("State");|
|ConditionalFormattingObject c1 = new ConditionalFormattingObject("ValueRead", ConditionTypes.Equal, "read", "", true);|
|c1.RowBackColor = Color.Green;|
|c1.RowForeColor = Color.Black;|
|ConditionalFormattingObject c2 = new ConditionalFormattingObject("ValueInit", ConditionTypes.Equal, "init", "", true);|
|c2.RowBackColor = Color.Blue;|
Am I missing something?