RadPanelBar into RadPanelBar

2 posts, 0 answers
  1. Vincent
    Vincent avatar
    3 posts
    Member since:
    May 2011

    Posted 12 May 2011 Link to this post

    Hi,

    I try to use RadPanelBar into an other RadPanelBar and I have a problem with the level2 RadPanelBar.
    This is my code :
    <telerik:RadPanelBar ID="RadPanelBar1" runat="server" Width="100%">
                <Items>
                    <telerik:RadPanelItem Text="PanelItem1">
                        <ContentTemplate>
                            <telerik:RadPanelBar ID="PanelBar2" runat="server" Width="100%">
                                <Items>
                                    <telerik:RadPanelItem Text="Title1">
                                        <HeaderTemplate><table style="width:100%;"><tr><td>Title1</td><td style="text-align:right;"><asp:ImageButton ID="ImgBtnRemoveContact1" runat="server" ImageUrl="~/images/cancel.png" /></td></tr></table></HeaderTemplate>
                                        <ContentTemplate>
                                            1iere ligne
                                            <br/>
                                            <br/>
                                            <br/>
                                            <br/>
                                            <br/>
                                            <br/>
                                            <br/>
                                            <br/>
                                            10ieme ligne
                                        </ContentTemplate>
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem Text="Title2">
                                        <HeaderTemplate><table style="width:100%;"><tr><td>Title2</td><td style="text-align:right;"><asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/cancel.png" /></td></tr></table></HeaderTemplate>
                                        <ContentTemplate>
                                            1st line
                                            <br/>
                                            <br/>
                                            <br/>
                                            <br/>
                                            <br/>
                                            <br/>
                                            <br/>
                                            <br/>
                                            10th line
                                        </ContentTemplate>
                                    </telerik:RadPanelItem>
                                </Items>
                            </telerik:RadPanelBar>
                        </ContentTemplate>
                    </telerik:RadPanelItem>
                </Items>
            </telerik:RadPanelBar>

    With this code, I can't expand the level 2 RadPanelItem (or it expand but I can't see the content)
    Is it possible to solve this ?

    Sorry for my poor english.
  2. Vincent
    Vincent avatar
    3 posts
    Member since:
    May 2011

    Posted 13 May 2011 Link to this post

    After some research, I solve my problem using Hierarchical PanelBar insted of PanelBar in PanelBar
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top