I have an interesting issue. When I use the Sitefinity skin on RadGrid the row colors do not change when selected if I'm setting the row backcolor in the ItemCreated Event or setting the ItemStyle/AlternatingItemStyle in the ASP.
<MasterTableView DataKeyNames="pID" CanRetrieveAllData="false">
<ItemStyle BackColor="White" ForeColor="Black" />
<AlternatingItemStyle BackColor="White" ForeColor="Black" />
OR
e.Item.ForeColor = Drawing.Color.Red
e.Item.Font.Bold = True
I need to be able to dynamically change row color based on values in the row, which is why I am handling the ItemCreated event, and I do not like having AlternatingItem's in the grid, which is why I'm setting the color in the ASP. I really like the style of the Sitefinity skin, but if I cannot see which rows are selected, it's just not going to work.
I should also say, I've tried using the visual style builder to change the Sitefinity skin but nothing changed. Selected rows still did not display as selected.
Any ideas?
<MasterTableView DataKeyNames="pID" CanRetrieveAllData="false">
<ItemStyle BackColor="White" ForeColor="Black" />
<AlternatingItemStyle BackColor="White" ForeColor="Black" />
OR
e.Item.ForeColor = Drawing.Color.Red
e.Item.Font.Bold = True
I need to be able to dynamically change row color based on values in the row, which is why I am handling the ItemCreated event, and I do not like having AlternatingItem's in the grid, which is why I'm setting the color in the ASP. I really like the style of the Sitefinity skin, but if I cannot see which rows are selected, it's just not going to work.
I should also say, I've tried using the visual style builder to change the Sitefinity skin but nothing changed. Selected rows still did not display as selected.
Any ideas?