Show/hide tab strip

2 posts, 0 answers
  1. Ron
    Ron avatar
    113 posts
    Member since:
    Apr 2011

    Posted 06 Nov 2011 Link to this post

    Can you tell me how to remove rad tag strip? Everything I've tried did not work so far. Here's what I've tried and neither has worked.
    radTabStrip1.Tabs[1].Visible = false;

  2. Jayesh Goyani
    Jayesh Goyani avatar
    2733 posts
    Member since:
    May 2010

    Posted 06 Nov 2011 Link to this post


    please check below code.

    <asp:Button ID="btnTabDemo" runat="server"  OnClick="btnTabDemo_Click" Text="tab demo"/>
            <telerik:RadTabStrip ID="RadTabStrip1" runat="server"  MultiPageID="RadMultiPage1">
                    <telerik:RadTab Text="General">
                    <telerik:RadTab Text="Tools">
                    <telerik:RadTab Text="Hardware">
            <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" CssClass="pageView"
                Width="345px" >
                <telerik:RadPageView ID="RadPageView1" runat="server">
                    <img src="" alt="General - image only" />
                <telerik:RadPageView ID="RadPageView2" runat="server">
                    <img src="" alt="Tools - image only" />
                <telerik:RadPageView ID="RadPageView3" runat="server">
                    <img src="" alt="Hardware - image only" />

    protected void btnTabDemo_Click(object sender, EventArgs e)
           if (RadTabStrip1.SelectedIndex == 1)
               RadTabStrip1.SelectedIndex = 0;
               RadMultiPage1.SelectedIndex = 0;
           RadTabStrip1.Tabs[1].Visible = false;

    Jayesh Goyani
Back to Top