Hi,
We are using RadGrid like this: Using default skin
<telerik:RadGrid ID="rgdAccts" runat="server" AutoGenerateColumns="False" CellSpacing="0" GridLines="None"
AllowSorting="True" AllowMultiRowEdit="True"
OnItemDataBound="rgdAccts_ItemDataBound" OnBiffExporting="rgdAccts_BiffExporting" >
<ClientSettings AllowExpandCollapse="false" AllowGroupExpandCollapse="false">
<Selecting EnableDragToSelectRows="false" />
<Scrolling AllowScroll="true" />
<Resizing AllowColumnResize="true" AllowResizeToFit="true" ShowRowIndicatorColumn="false" />
</ClientSettings>
<MasterTableView DataKeyNames="AcctID">
.........
grid bound columns....
<telerik:GridTemplateColumn DataField="PermissionID" UniqueName="PermissionID">
<EditItemTemplate>
<asp:RadioButtonList ID="rblPermission" runat="server" DataValueField="Custom"
DataTextField="ValueCustom" OnLoad="rblPermission_Load" RepeatDirection="Horizontal"
CssClass="grid-radiobuttonlist" />
</EditItemTemplate>
</telerik:GridTemplateColumn>
When the page is loaded and look into html, all the rows are getting displayed as 'rgEditRow'. No alternate row is Shown. So, alternate row colors are not displayed. Entire grid (all rows) are of same color. We need to apply alternate row color style to this grid. When I looked into default skin, I see styles only for rgRow, rgAltRow and rgEditRow. So, how can I apply different colors to alter rows. I prefer to do it in skin rather than doing in the grid locally. Because we have similar requirements on many asp.net pages.
Thanks,
Prathiba
We are using RadGrid like this: Using default skin
<telerik:RadGrid ID="rgdAccts" runat="server" AutoGenerateColumns="False" CellSpacing="0" GridLines="None"
AllowSorting="True" AllowMultiRowEdit="True"
OnItemDataBound="rgdAccts_ItemDataBound" OnBiffExporting="rgdAccts_BiffExporting" >
<ClientSettings AllowExpandCollapse="false" AllowGroupExpandCollapse="false">
<Selecting EnableDragToSelectRows="false" />
<Scrolling AllowScroll="true" />
<Resizing AllowColumnResize="true" AllowResizeToFit="true" ShowRowIndicatorColumn="false" />
</ClientSettings>
<MasterTableView DataKeyNames="AcctID">
.........
grid bound columns....
<telerik:GridTemplateColumn DataField="PermissionID" UniqueName="PermissionID">
<EditItemTemplate>
<asp:RadioButtonList ID="rblPermission" runat="server" DataValueField="Custom"
DataTextField="ValueCustom" OnLoad="rblPermission_Load" RepeatDirection="Horizontal"
CssClass="grid-radiobuttonlist" />
</EditItemTemplate>
</telerik:GridTemplateColumn>
When the page is loaded and look into html, all the rows are getting displayed as 'rgEditRow'. No alternate row is Shown. So, alternate row colors are not displayed. Entire grid (all rows) are of same color. We need to apply alternate row color style to this grid. When I looked into default skin, I see styles only for rgRow, rgAltRow and rgEditRow. So, how can I apply different colors to alter rows. I prefer to do it in skin rather than doing in the grid locally. Because we have similar requirements on many asp.net pages.
Thanks,
Prathiba