This is a migrated thread and some comments may be shown as answers.
SelectedItemStyle overridden by AlternatingItemStyle
1 Answer 34 Views
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 1
Bob asked on 21 Jun 2010, 01:28 PM
Hello Telerik Team,

I have a RadGrid that defines an AlternatingItemStyle.  This AlternatingItemStyle sets the background color to a light blue
I also have a SelectedItemStyle that defines a different background color (orange)

When I select these alternating rows, the Selected style does not appear.  I do see a small trace of the orange color "underneath" the lightblue color, so some color is trying to be applied somewhere.

The attached PNG image show a screen shot of this behavior.  Can you help me fix this?
I am using 2010.1.530.20

** NOTE** In further investigation, I am noticing that the background-color of the row is being overridden by the alternating item color...The orange color at the bottom of the row is the border-bottom-color.  The selected item color should override the alternating style item color

Thanks
Bob

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 21 Jun 2010, 01:37 PM
Hello Bob,

Please refer to:

http://www.telerik.com/community/code-library/aspnet-ajax/grid/how-to-preserve-the-original-radgrid-selected-hover-row-background-when-using-itemstyle-backcolor.aspx

Sincerely yours,
Dimo
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
Grid
Asked by
Bob
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or