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

Column Background

1 Answer 58 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Helen
Top achievements
Rank 2
Helen asked on 30 Jan 2010, 05:14 PM
I have been experimenting with setting the Background property of the GridViewDataColumn. If I set it to a color, it works as expected. However, if I set it to "Transparent", I would expect that the background color of the Grid would show, but instead it is White. Is this by design?

I can work around this by setting the column's background color, but would prefer to set it to "Transparent", as that makes it easier to change later.

Cheers,

Helen

1 Answer, 1 is accepted

Sort by
0
Kalin Milanov
Telerik team
answered on 01 Feb 2010, 01:46 PM
Hello Helen,

Indeed this is by design of the grid. Setting a column to transparent (in fact it is transparent by default) will show the background of the rows. Setting their background to transparent will reveal the background of the grid (gray-ish color by default).

Kind regards,
Kalin Milanov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Helen
Top achievements
Rank 2
Answers by
Kalin Milanov
Telerik team
Share this question
or