RagePageView not displayed in RadTab

2 posts, 0 answers
  1. John
    John avatar
    8 posts
    Member since:
    Apr 2008

    Posted 13 Sep 2011 Link to this post

    I have a Hierarchical RadGrid with a details table defined as a nestedViewTamplate which then also contains a RadGrid inside a RadPageView which is assigned to a RadTab.
    I cannot get the second RadGrid to appear in the assigned RadTab for some reason.

    Here is my source.

    <telerik:RadGrid ID="RadGrid1" runat="server" Skin="Centive" EnableEmbeddedSkins="False"
        AutoGenerateColumns="False" CellSpacing="0" GridLines="None" OnNeedDataSource="RadGrid1_NeedDataSource"
        OnItemDataBound="RadGrid1_ItemDataBound" OnDetailTableDataBind="RadGrid1_DetailTableDataBind">
        <MasterTableView DataKeyNames="CompanyId,CentiveId,PlanId" Name="MainMasterTable">
            <DetailTables>
                <telerik:GridTableView DataKeyNames="CompanyId,CentiveId,PlanId,AwardId" Name="AwardDetails">
                    <NestedViewTemplate>
                        <telerik:RadTabStrip ID="TabStrip1" runat="server" MultiPageID="MultiPage1" Skin="Centive"
                            EnableEmbeddedSkins="false">
                            <Tabs>
                                <telerik:RadTab runat="server" Text="Transactions" PageViewID="PageView1" Selected="true">
                                </telerik:RadTab>
                                <telerik:RadTab runat="server" Text="Vestings" PageViewID="PageView2">
                                </telerik:RadTab>
                                <telerik:RadTab runat="server" Text="Tax" PageViewID="PageView3">
                                </telerik:RadTab>
                            </Tabs>
                        </telerik:RadTabStrip>
                        <telerik:RadMultiPage runat="server" ID="MultiPage1" SelectedIndex="0" RenderSelectedPageOnly="false" SkinID="Centive" EnableEmbeddedBaseStylesheet="true">
                            <telerik:RadPageView runat="server" ID="PageView1">
                                <telerik:RadGrid runat="server" ID="RadGrid2" OnNeedDataSource="RadGrid2_NeedDataSource"
                                    AutoGenerateColumns="false" Skin="Centive" EnableEmbeddedSkins="false">
                                    <MasterTableView DataKeyNames="CentiveId, CompanyId, PlanId, AwardId" Name="SecondMainMasterTable">
                                        <Columns>
                                            <telerik:GridBoundColumn HeaderText="CentiveId" DataField="CentiveId" Visible="false">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn HeaderText="CompanyId" DataField="CompanyId" Visible="false">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn HeaderText="Plan" DataField="PlanId" Visible="false">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn HeaderText="Award" DataField="AwardId" Visible="false">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn HeaderText="Type" DataField="Type">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn HeaderText="Date" DataField="Date" DataFormatString="{0:dd/MM/yyyy}">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn HeaderText="Units" HeaderStyle-HorizontalAlign="Right" DataField="Units"
                                                DataFormatString="{0:N0}">
                                                <HeaderStyle HorizontalAlign="Right"></HeaderStyle>
                                                <ItemStyle HorizontalAlign="Right" />
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn HeaderText="Price" DataField="Price" DataFormatString="{0:N0}"
                                                HeaderStyle-HorizontalAlign="Right">
                                                <HeaderStyle HorizontalAlign="Right"></HeaderStyle>
                                                <ItemStyle HorizontalAlign="Right" />
                                            </telerik:GridBoundColumn>
                                        </Columns>
                                    </MasterTableView>
                                </telerik:RadGrid>
                            </telerik:RadPageView>
                        </telerik:RadMultiPage>
                    </NestedViewTemplate>
                    <Columns>
                        <telerik:GridBoundColumn HeaderText="CentiveId" DataField="CentiveId" Visible="false">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn HeaderText="CompanyId" DataField="CompanyId" Visible="false">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn HeaderText="Plan" DataField="PlanId" Visible="false">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn HeaderText="Award" DataField="AwardId">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn HeaderText="Awarded" HeaderStyle-HorizontalAlign="Right"
                            DataField="Awarded" DataFormatString="{0:N0}">
                            <HeaderStyle HorizontalAlign="Right"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn HeaderText="Exercised" DataField="Exercises" DataFormatString="{0:N0}"
                            HeaderStyle-HorizontalAlign="Right">
                            <HeaderStyle HorizontalAlign="Right"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn HeaderText="Transfered" DataField="Transfers" DataFormatString="{0:N0}"
                            HeaderStyle-HorizontalAlign="Right">
                            <HeaderStyle HorizontalAlign="Right"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn HeaderText="Sold" DataField="Sales" DataFormatString="{0:N0}"
                            HeaderStyle-HorizontalAlign="Right">
                            <HeaderStyle HorizontalAlign="Right"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn HeaderText="Lapsed" DataField="Lapses" DataFormatString="{0:N0}"
                            HeaderStyle-HorizontalAlign="Right">
                            <HeaderStyle HorizontalAlign="Right"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn HeaderText="Share Splits" DataField="Share Splits" DataFormatString="{0:N0}"
                            HeaderStyle-HorizontalAlign="Right">
                            <HeaderStyle HorizontalAlign="Right"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn HeaderText="Rights Issues" DataField="Rights Issues" DataFormatString="{0:N0}"
                            HeaderStyle-HorizontalAlign="Right">
                            <HeaderStyle HorizontalAlign="Right"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn HeaderText="Outstanding" DataField="Outstanding" DataFormatString="{0:N0}"
                            HeaderStyle-HorizontalAlign="Right">
                            <HeaderStyle HorizontalAlign="Right"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                    </Columns>
                </telerik:GridTableView>
            </DetailTables>
            <Columns>
                <telerik:GridBoundColumn HeaderText="" DataField="Approved" Visible="false">
                </telerik:GridBoundColumn>
                <telerik:GridImageColumn HeaderText="" UniqueName="ApprovedImage">
                    <ItemStyle HorizontalAlign="Left" Width="1" />
                </telerik:GridImageColumn>
                <telerik:GridBoundColumn HeaderText="CentiveId" DataField="CentiveId" Visible="false">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="CompanyId" DataField="CompanyId" Visible="false">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="Plan" DataField="PlanId">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="Awarded" HeaderStyle-HorizontalAlign="Right"
                    DataField="Awarded" DataFormatString="{0:N0}">
                    <HeaderStyle HorizontalAlign="Right"></HeaderStyle>
                    <ItemStyle HorizontalAlign="Right" />
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="Exercised" DataField="Exercises" DataFormatString="{0:N0}"
                    HeaderStyle-HorizontalAlign="Right">
                    <HeaderStyle HorizontalAlign="Right"></HeaderStyle>
                    <ItemStyle HorizontalAlign="Right" />
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="Transfered" DataField="Transfers" DataFormatString="{0:N0}"
                    HeaderStyle-HorizontalAlign="Right">
                    <HeaderStyle HorizontalAlign="Right"></HeaderStyle>
                    <ItemStyle HorizontalAlign="Right" />
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="Sold" DataField="Sales" DataFormatString="{0:N0}"
                    HeaderStyle-HorizontalAlign="Right">
                    <HeaderStyle HorizontalAlign="Right"></HeaderStyle>
                    <ItemStyle HorizontalAlign="Right" />
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="Lapsed" DataField="Lapses" DataFormatString="{0:N0}"
                    HeaderStyle-HorizontalAlign="Right">
                    <HeaderStyle HorizontalAlign="Right"></HeaderStyle>
                    <ItemStyle HorizontalAlign="Right" />
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="Share Splits" DataField="Share Splits" DataFormatString="{0:N0}"
                    HeaderStyle-HorizontalAlign="Right">
                    <HeaderStyle HorizontalAlign="Right"></HeaderStyle>
                    <ItemStyle HorizontalAlign="Right" />
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="Rights Issues" DataField="Rights Issues" DataFormatString="{0:N0}"
                    HeaderStyle-HorizontalAlign="Right">
                    <HeaderStyle HorizontalAlign="Right"></HeaderStyle>
                    <ItemStyle HorizontalAlign="Right" />
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="Outstanding" DataField="Outstanding" DataFormatString="{0:N0}"
                    HeaderStyle-HorizontalAlign="Right">
                    <HeaderStyle HorizontalAlign="Right"></HeaderStyle>
                    <ItemStyle HorizontalAlign="Right" />
                </telerik:GridBoundColumn>
            </Columns>
        </MasterTableView>
    </telerik:RadGrid>
  2. John
    John avatar
    8 posts
    Member since:
    Apr 2008

    Posted 13 Sep 2011 Link to this post

    I answered my own question.

    I need to have more then one pageview in order for the content to be placed in the correct tab.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top