Table of Contents


aspx:ViewTab

This component is a single tab within <aspx:ViewTabPanel> component. This component must have a child inside "ViewTabPanel".

<aspx:ViewTabPanel runat="server">
    <aspx:ViewTab runat="server" title="My Tab">
       <body>
         <!-- tab content goes here -->
       </body>
    </aspx:ViewTab>   
</aspx:ViewTabPanel>


Properties

PropertyDescription
IdThe ID of the HTML element.
TitleText to be displayed on the tab header.
OnClientClickThe JavaScript is invoked if the onclick event occurs--that is, if the user clicks the tab.
ButtonsTitleText to be displayed on the header of the body (top part of the tab's body). If not provided, the title will be used.
HideBodyHeaderA boolean value that specifies whether the tab's body header is displayed or not.