Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
425
Is it possible to hide just the tabs (not the content areas)?
posted

Hi, as the subject says, we'd like to hide just the tabs, not the content area.

We are migrating from UltraWebTab and we acheived this by following the directions in this post:

http://news.infragistics.com/forums/p/8684/34286.aspx

Is it possible with the WebTab control?

Thanks.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Parents
No Data
Reply
  • 19693
    posted

    Hello naspence ,

    Thank you for posting in our forums

    Using WebTab you can achieve this using the Css class of the ContentTabItem.

     <style type="text/css">

            .newClass

            {

                visibility: hidden !important;

                display: none  !important;

            }

        </style>

     

     <ig:ContentTabItem runat="server" Text="Tab 1" Key="First" Hidden="false" >

                        <TabCssClasses CssClass="newClass"  />

                        <Template>

                            <asp:Label ID="Label1" runat="server" Text="Tab 1"></asp:Label>

                        </Template>

                    </ig:ContentTabItem>

    Let me know if you have further questions

Children