How do I change color on group header.
if (((Int32)Report.GetVariableValue("RowNumber")) % 2 == 0)
GroupHeader1.FillColor = Color.Gainsboro;
This is what I did in the script, but it does work. Any idea why?
Text5.Text = Report.GetVariableValue("RowNumber").ToString();
This shows in the text the RowNumber is 1,2,3,4......and so on. but
GroupHeader1.FillColor = Color.Gainsboro; doesn't seem to do anything.
Please help.
GroupHeader1.FillColor = Color.Gainsboro;
This is what I did in the script, but it does work. Any idea why?
Text5.Text = Report.GetVariableValue("RowNumber").ToString();
This shows in the text the RowNumber is 1,2,3,4......and so on. but
GroupHeader1.FillColor = Color.Gainsboro; doesn't seem to do anything.
Please help.
Comments
I do this in the group header's BeforePrint event handler and it works: