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

skins not showing on sub-grids

2 Answers 77 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 23 Mar 2012, 04:16 PM
Hi,

i am trying to apply differetn skinIds to all my sub grid to tell them apart but it seems as if it does not work, I have the skins set but when I open the grid the sub grid come up as white with black letters.  Before I set the cssStyles on them but I want alike color schemas on them and this is hard to sit around and try to come up with a color schema that matches the web20 color schema.  So the question is how can I set the sub heiarchal grids skinId and make it work.  Thanks
<telerik:RadGrid ID="myRadGrid" runat="server" Width="100%" BorderWidth="1px" CellPadding="4" Skin="Web20">
                                    <MasterTableView AutoGenerateColumns="false" DataKeyNames="intCategoryId" HierarchyDefaultExpanded="false" Font-Size="10" Font-Names="Veranda,arial,sans-serif" 
                                        HeaderStyle-HorizontalAlign="Center" Name="MasterGrid" ExpandCollapseColumn-ButtonType="ImageButton" HierarchyLoadMode="Client" AllowPaging="True" PageSize="20" 
                                        PagerStyle-Mode="NumericPages" ExpandCollapseColumn-CollapseImageUrl="~/Images/30.png" ExpandCollapseColumn-ExpandImageUrl="~/Images/29.png">
                                        <ItemStyle HorizontalAlign="Center" /><AlternatingItemStyle BackColor="#B0C4DE"  HorizontalAlign="Center" /><HeaderStyle ForeColor="White" Font-Bold="true"  />
                                        <DetailTables>
                                            <telerik:GridTableView Name="myManufacGrid" runat="server" DataKeyNames="intManufacturerId" TableLayout="Fixed" BorderWidth="1px" CellPadding="6" Font-Size="10" SkinID="web20"
                                                AutoGenerateColumns="False" HeaderStyle-HorizontalAlign="Center" BorderColor="#404040" Font-Names="Veranda,arial,sans-serif" GridLines="Both" ExpandCollapseColumn-ButtonType="ImageButton"
                                                ExpandCollapseColumn-CollapseImageUrl="~/Images/30.png" ExpandCollapseColumn-ExpandImageUrl="~/Images/29.png">
                                                <ParentTableRelation>
                                                    <telerik:GridRelationFields DetailKeyField="intCategoryId" MasterKeyField="intCategoryId" />
                                                </ParentTableRelation>
                                                <HeaderStyle Font-Bold="true" HorizontalAlign="Center" /><ItemStyle HorizontalAlign="Center" /><AlternatingItemStyle  HorizontalAlign="Center" />
                                                <DetailTables>
                                                <telerik:GridTableView DataKeyNames="intMakeId" Name="myMakeGrid" Width="100%" TableLayout="Fixed" BorderWidth="1px" CellPadding="6" Font-Size="10" SkinID="web20"
                                                    AutoGenerateColumns="False" HeaderStyle-HorizontalAlign="Center" BorderColor="#404040" Font-Names="Veranda,arial,sans-serif" GridLines="Both" ExpandCollapseColumn-ButtonType="ImageButton"
                                                    ExpandCollapseColumn-CollapseImageUrl="~/Images/30.png" ExpandCollapseColumn-ExpandImageUrl="~/Images/29.png">
                                                        <ParentTableRelation>

2 Answers, 1 is accepted

Sort by
0
Accepted
Galin
Telerik team
answered on 28 Mar 2012, 02:36 PM
Hi Kevin,

I have just tested the scenario, but the issue you are facing is not replicable on our side. I am sending you my test project for your reference. Please let me know if you manage to reproduce what you are getting in this project, and what steps to follow, so that we can test it too.

Looking forward to your reply.

All the best,
Galin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Kevin
Top achievements
Rank 1
answered on 28 Mar 2012, 06:46 PM
HI,

As soon as I upgraded my telerik controls it worked just fine.  Thanks
Tags
Grid
Asked by
Kevin
Top achievements
Rank 1
Answers by
Galin
Telerik team
Kevin
Top achievements
Rank 1
Share this question
or