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

why grdiview skin does not carry down to detail tables

1 Answer 33 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 06 Jun 2011, 03:19 PM
Is there a way to carry the skin on the gridview down to the detailtables.  I set a main skin but it does not come down to the detailtable, how can this be fixed.


  <telerik:RadGrid ID="myRadGrid" runat="server" Width="95%" BorderWidth="1px" CellPadding="6" GridLines="Horizontal" BorderColor="#404040" Skin="Web20" ExportSettings-Excel-Format="Html"
                ExportSettings-FileName="DeployReport" ExportSettings-ExportOnlyData="true"
                ExportSettings-Pdf-AllowPrinting="true"><ExportSettings><Pdf FontType="Subset" PaperSize="Letter" PageTitle="No Show Report" /><Excel Format="html" FileExtension="xls" /></ExportSettings>
                <MasterTableView AutoGenerateColumns="false" HierarchyDefaultExpanded="false" HierarchyLoadMode="ServerBind" BorderColor="#404040" Font-Size="10" Font-Names="Veranda,arial,sans-serif"
                HeaderStyle-HorizontalAlign="Center" ExpandCollapseColumn-ButtonType="ImageButton" ExpandCollapseColumn-CollapseImageUrl="../Images/30.png" ExpandCollapseColumn-ExpandImageUrl="../Images/29.png"
                CommandItemSettings-ShowExportToPdfButton="true" CommandItemDisplay="Top" CommandItemSettings-ShowExportToExcelButton="true" CommandItemSettings-ShowAddNewRecordButton="false"
                CommandItemSettings-ShowRefreshButton="false" CommandItemSettings-ShowExportToWordButton="true" DataKeyNames="strSSN"><AlternatingItemStyle BackColor="#B0C4DE" />
                <HeaderStyle ForeColor="White" Font-Bold="true" BorderColor="#404040" BorderWidth="1px" />
                    <Columns>
                        <telerik:GridBoundColumn HeaderText="UIC" DataField="strUIC"></telerik:GridBoundColumn>
                        <telerik:GridBoundColumn HeaderText="Att UIC" DataField="AttUIC"></telerik:GridBoundColumn>
                        <telerik:GridBoundColumn HeaderText="Rank" DataField="strRank"></telerik:GridBoundColumn>
                        <telerik:GridBoundColumn HeaderText="Name" DataField="strFullName"></telerik:GridBoundColumn>
                        <telerik:GridBoundColumn HeaderText="SRPType" DataField="strSrpname"></telerik:GridBoundColumn>
                        <telerik:GridBoundColumn HeaderText="IN" DataField="TimeIn"></telerik:GridBoundColumn>
                        <telerik:GridBoundColumn HeaderText="Out" DataField="TimeOut"></telerik:GridBoundColumn>
                        <telerik:GridBoundColumn HeaderText="Process Time" DataField="ProcessTime"></telerik:GridBoundColumn>
                        <telerik:GridBoundColumn HeaderText="Deployable" DataField="deployable"></telerik:GridBoundColumn>
                    </Columns>
                    <DetailTables>
                        <telerik:GridTableView Name="mySubReport" runat="server" DataKeyNames="strSSN" TableLayout="Fixed" BorderWidth="1px" CellPadding="6" Font-Size="10" AutoGenerateColumns="false"
                            HeaderStyle-HorizontalAlign="Center" BorderColor="#404040" Font-Names="Veranda,arial,sans-serif" GridLines="Both">
                            <ParentTableRelation>
                                <telerik:GridRelationFields DetailKeyField="strSSN" MasterKeyField="strSSN" />
                            </ParentTableRelation>
                            <HeaderStyle Font-Bold="true" HorizontalAlign="Center" />
                                <Columns>
                                    <telerik:GridBoundColumn DataField="strTaskName" HeaderText="Task"></telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="strNotes" HeaderText="Notes"></telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="dtFound" HeaderText="Created"></telerik:GridBoundColumn>
                                </Columns>
                        </telerik:GridTableView>
                    </DetailTables>
                 </MasterTableView>
                </telerik:RadGrid>

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 06 Jun 2011, 03:40 PM
Hello Kevin,

I hope this help article might help you.
Different styles in each hierarchy level with skin applied.

Thanks,
Princy.
Tags
Grid
Asked by
Kevin
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or