Want to add different tabs in existing tab of tabstrip.

3 posts, 0 answers
  1. Simon Maystre
    Simon Maystre avatar
    23 posts
    Member since:
    Aug 2012

    Posted 11 Nov 2011 Link to this post

    Hi Telerik Team,

    I am adding different tabs in existing tab of RadTabStrip dynamically, but i am unable to see the tabs in existing tab.

    Can you please provide me the proper solution on above scenario.?

    Thanks and Regards,
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 11 Nov 2011 Link to this post

    Hello Simon,

    Check the following help documentation which explains how to create tabs dynamically.
    Working With Tabs Using Server-Side Code.

  3. Kate
    Kate avatar
    1898 posts

    Posted 15 Nov 2011 Link to this post

    Hello Simon,

    Can you clarify what you mean by "the tabs in existing tab". Are these tabs hierarchical? If so, one way you could access hierarchical tabs is by using indexes. For instance having the following markup, you can access the first child tab using the code below:

    <telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1"
                    <telerik:RadTab Text="tab1" PageViewID="RadPageView1" Value="tab1">
                            <telerik:RadTab Text="tab1.1" Value="tab11">
                            <telerik:RadTab Text="tab1.2">
                            <telerik:RadTab Text="tab1.3">
                    <telerik:RadTab Text="tab2" PageViewID="RadPageView2">
                    <telerik:RadTab Text="tab3" PageViewID="RadPageView3">
                    <telerik:RadTab Text="tab4" PageViewID="RadPageView4" Selected="True">
    code behind:
    RadTabStrip1.Tabs[0].Tabs[0].Visible = false;

    Kind regards,
    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
Back to Top