Table of Contents


aspx:ViewTabPanel

This component generates Tabs that create an area on a page that consists of several tabs. When a user clicks a tab header, the tab's associated content displays, hiding the content of other tabs.

<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.
EnableMouseOverA boolean value sets the focus on the tab on mouse hover. By default, this feature is false.
WidthThe width of the ViewTabPanel, expressed either as a percentage of the available horizontal space (for example, width="50%") or as a number of pixels (for example, width="800px"). If not specified, this value defaults to 100%.
ActiveTabIndexZero-based index of the tab that needs to be activated.
VisibleTrue/false; whether the component is visible.