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
| Property | Description |
|---|
| Id | The ID of the HTML element. |
| EnableMouseOver | A boolean value sets the focus on the tab on mouse hover. By default, this feature is false. |
| Width | The 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%. |
| ActiveTabIndex | Zero-based index of the tab that needs to be activated. |
| Visible | True/false; whether the component is visible. |