This is a migrated thread and some comments may be shown as answers.

[Solved] How to change alternating row background color

0 Answers 198 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andy
Top achievements
Rank 1
Andy asked on 30 Jun 2009, 08:00 PM
I'm having trouble changing the background colors for alternating rows. (Or the regular rows too I guess)

I have tried:

<ItemStyle BackColor="Black" ForeColor="Red" />
<AlternatingItemStyle BackColor="White" />

and

tr.GridAltRow_Default 
 color: Black; 
 background-color: White; 
 background-image: none; 

The ForeColor properties work fine, so I know that some part of it is working, but nothing I do changes the background color. What am I doing wrong?

Edit: We're using the Q3 2008 RadGrid release

Edit 2: Never mind. I figured this out. Another developer had coded some colors directly into the cs file.

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Andy
Top achievements
Rank 1
Share this question
or