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

[Solved] Header Text Is Always Black

2 Answers 126 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Robert Smyth
Top achievements
Rank 1
Robert Smyth asked on 11 Nov 2010, 03:12 AM
Hi,

I'm using yesterday's Q3 release and out of the box the radgridview header cell background is near black and the text is black. Hence it is near impossible to read the header text.

I've tried assigning styles for GridViewHeaderRow and GridViewHeaderCell and setting the foreground colour. But, while I can change the background and the text font, I cannot change the text colour. Only way I can make the grid usable is to set the background colour to something light.

Is there a trick?

Thx

Rob Smyth

2 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 11 Nov 2010, 04:37 PM
Hi Robert,


Can you verify that you did not have an implicit style for TextBlock, that Foreground property is black colored? If that is not the case I am not quite sure what might be causing the issue, so that I have prepared an example for you that defines a different styles for GridViewHeaderRow, GridViewHeaderCell and everything works fine on my side.


 Feel free to modify the attached project and sent it back to me if you need any further assistance.


Regards,
Vanya Pavlova
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Robert Smyth
Top achievements
Rank 1
answered on 12 Nov 2010, 03:57 AM
Excellent!

Yes that was the problem. I had an implicit TextBlock style. Works now.

Thank you.

Rob Smyth
Tags
GridView
Asked by
Robert Smyth
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Robert Smyth
Top achievements
Rank 1
Share this question
or