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

GridViewDataColumn.BackGroundColor

1 Answer 43 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Rieni De Rijke
Top achievements
Rank 1
Rieni De Rijke asked on 11 Jun 2010, 03:52 PM
When we set the GridViewDataColumn BackGroundColor sometimes the selected-row-color hides behind the columncolor and sometimes it does not.
Example:
Using Background="#20FF0011" the selected-row-color appeares as aspected.
Using Background="#CCFFCC" the selected-row-color hides behind the colomn.

Why this difference?




1 Answer, 1 is accepted

Sort by
0
Kalin Milanov
Telerik team
answered on 14 Jun 2010, 10:30 AM
Hello Rieni De Rijke,

The cells are rendered on top of the rows and as such setting an opaque color to cells and columns will hide the MouseOver and Selected visuals. In the first case you are using a semi-transparent color (#20FF0011) which lets the visuals to pass through, although a bit distorted. If you add some transparency to the second color it should be fine (for example change it from #CCFFCC to #20CCFFCC).

I hope this helps.

All the best,
Kalin Milanov
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.
Tags
GridView
Asked by
Rieni De Rijke
Top achievements
Rank 1
Answers by
Kalin Milanov
Telerik team
Share this question
or