Hi
Tried the examples I have found in Telerik site to try and set the forecolor of a hierarchical grids header but nothing works. The back color is setting but not the forcolor. I have tried setting the color in my CSS, I have tried setting the color at the GridGroupHeaderItem level and setting the Forecolor at the GridGroupHeaderItem.DataCell level. Here is the latest code. Can you tell me why this isnt working? I am also wanting to set Font so I assume I will hit a similar issue. Thank you
Tried the examples I have found in Telerik site to try and set the forecolor of a hierarchical grids header but nothing works. The back color is setting but not the forcolor. I have tried setting the color in my CSS, I have tried setting the color at the GridGroupHeaderItem level and setting the Forecolor at the GridGroupHeaderItem.DataCell level. Here is the latest code. Can you tell me why this isnt working? I am also wanting to set Font so I assume I will hit a similar issue. Thank you
.nomRed1 { background-color: #ef1209; } .nomRed2 { background-color: #c1131e; } protected void clientContribution_ItemDataBound(object sender, GridItemEventArgs e) { if (e.Item is GridGroupHeaderItem) { GridGroupHeaderItem item = (GridGroupHeaderItem)e.Item; DataRowView groupDataRow = (DataRowView)e.Item.DataItem; item.CssClass = "nomRed1"; item.DataCell.ForeColor = Color.Magenta; } }