Nothing is being displayed inside RadTabs

2 posts, 0 answers
  1. John
    John avatar
    7 posts
    Member since:
    Jul 2013

    Posted 15 Jul 2013 Link to this post

    I am trying to display things under tabs with radtabstrip.However, the radtabs are not displaying the data they are supposed to display under tabs. Can some one help me with this?

    <telerik:RadTabStrip ID="RadTabStrip1" runat="server">
        <Tabs>
           <telerik:RadTab Text="Tab 1" PageViewID="RadPageView1">
            </telerik:RadTab>
            <telerik:RadTab Text="Tab 2" PageViewID="RadPageView2" >
            </telerik:RadTab>
        </Tabs>
        </telerik:RadTabStrip>
        <telerik:RadMultiPage ID="RadMultiPage1" runat="server">
            <telerik:RadPageView ID="RadPageView1" runat="server" >
                <p> Hi</p></telerik:RadPageView>
            <telerik:RadPageView ID="RadPageView2" runat="server" Width="100%">
    
                PageView 2</telerik:RadPageView>
        </telerik:RadMultiPage>
    

    Thanks.

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 16 Jul 2013 Link to this post

    Hi John,

    You have not set the MultiPageID property of the RadTabStrip. Even if you set the PageViewID of the RadTab, the contents wont be displayed unless you set the MultiPageID property to the corresponding RadMultiPage. Please check the following mark-up.

    ASPX:
    <telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1">
        <Tabs>
            <telerik:RadTab Text="Tab 1" PageViewID="RadPageView1">
            </telerik:RadTab>
            <telerik:RadTab Text="Tab 2" PageViewID="RadPageView2">
            </telerik:RadTab>
        </Tabs>
    </telerik:RadTabStrip>
    <telerik:RadMultiPage ID="RadMultiPage1" runat="server">
        <telerik:RadPageView ID="RadPageView1" runat="server">
            <p>
                Hi</p>
        </telerik:RadPageView>
        <telerik:RadPageView ID="RadPageView2" runat="server" Width="100%">
            PageView 2</telerik:RadPageView>
    </telerik:RadMultiPage>

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top