-
Couldn't load subscription status.
- Fork 144
TabContainer
TabContainer is an ASP.NET AJAX Control, which creates a set of tabs that can be used to organize page content. TabContainer is a host for a number of TabPanel controls.
| Name | Description |
|---|---|
| ActiveTab | The current active tab |
| ActiveTabIndex | The first tab to show |
| ActiveTabIndexForClient | The first tab to show Remarks: For the client side |
| AutoPostBack | Make an auto postback from JavaScript when a tab index changes |
| CssTheme | Gets or sets a CSS theme predefined in a CSS file |
| Height | Height of a tab body (does not include TabPanel headers) |
| OnClientActiveTabChanged | Fires on the client side when a tab is changed |
| OnDemand | Determines whether or not to render/load precise tabs on demand or all tabs on page load |
| ScrollBars | Determines whether or not to display scrollbars (None, Horizontal, Vertical, Both, Auto) in the TabContainer body |
| Tabs | A collection of tabs |
| TabStripPlacement | Determines whether or not to render tabs on top of the container or below (Top, Bottom) |
| UniqueID | AutoPostback ID |
| UseVerticalStripPlacement | Determines whether or not to render tabs on the left or right side of the container |
| VerticalStripWidth | Width of tab panels when tabs are displayed vertically |
| Width | Width of the tab body |
| Name | Description |
|---|---|
| ActiveTabChanged | Fires on the server side when a tab is changed after a postback |
| Name | Description |
|---|---|
| activeTab | The currently active tab |
| activeTabIndex | The first tab to show |
| autoPostBackId | AutoPostback ID |
| onDemand | Determines whether or not to render/load tabs on demand or all tabs on page load |
| scrollBars | Determines whether or not to display scrollbars (None, Horizontal, Vertical, Both, Auto) in the TabContainer body |
| tabs | A collection of tabs |
| tabStripPlacement | Determines whether or not to render tabs on top of the container or below (Top, Bottom) |
| useVerticalStripPlacement | Determines whether or not to render tabs on the left or right side of the container |
| Name | Description |
|---|---|
| getFirstTab(includeDisabled) | Returns TabContainer's first tab |
| getLastTab(includeDisabled) | Returns TabContainer's last tab |
| getNearestTab(includeDisabled) | Returns TabContainer's nearest tab |
| getNextTab(includeDisabled) | Returns TabContainer's next tab |
| getPreviousTab(includeDisabled) | Returns TabContainer's previous tab |
| saveClientState() | Saves JSON state serialized on the client side |
| Name | Description |
|---|---|
| activeTabChanged | Fires when a tab is changed |
The currently active tab
Getter name: get_activeTab()
Setter name: set_activeTab(value)
The first tab to show
Getter name: get_activeTabIndex()
Setter name: set_activeTabIndex(value)
AutoPostback ID
Getter name: get_autoPostBackId()
Setter name: set_autoPostBackId(value)
Determines whether or not to render/load tabs on demand or all tabs on page load
Getter name: get_onDemand()
Setter name: set_onDemand(value)
Determines whether or not to display scrollbars (None, Horizontal, Vertical, Both, Auto) in the TabContainer body
Getter name: get_scrollBars()
Setter name: set_scrollBars(value)
A collection of tabs
Getter name: get_tabs()
Determines whether or not to render tabs on top of the container or below (Top, Bottom)
Getter name: get_tabStripPlacement()
Setter name: set_tabStripPlacement(value)
Determines whether or not to render tabs on the left or right side of the container
Getter name: get_useVerticalStripPlacement()
Setter name: set_useVerticalStripPlacement(value)
Returns TabContainer's first tab
Params:
-
includeDisabled
- Type: Boolean
- Description: Include disabled tabs
Returns TabContainer's last tab
Params:
-
includeDisabled
- Type: Boolean
- Description: Include disabled tabs
Returns TabContainer's nearest tab
Params:
-
includeDisabled
- Type: Boolean
- Description: Include disabled tabs
Returns TabContainer's next tab
Params:
-
includeDisabled
- Type: Boolean
- Description: Include disabled tabs
Returns TabContainer's previous tab
Params:
-
includeDisabled
- Type: Boolean
- Description: Include disabled Tabs
Saves JSON state serialized on the client side
Fires when a tab is changed
Add event handler method: add_activeTabChanged(handler)
Remove event handler method: remove_activeTabChanged(handler)
Raise event method: raise_activeTabChanged()
This content was moved from https://ajaxcontroltoolkit.codeplex.com/documentation to this Documentation wiki. This is now the authoritative location of the AJAX Control Toolkit documentation.
- Step-by-Step Installation Guide
- Upgrading from v7.x and below
- Uninstalling the AJAX Control Toolkit
- Troubleshooting Installer Issues
- Updating the Project from CI Builds
- How to Use Bundling and CDN
- Creating a Custom Localization
- Creating a Custom Control
- Design Standards
Controls:
- Accordion
- AjaxFileUpload
- AreaChart
- AsyncFileUpload
- BarChart
- BubbleChart
- ComboBox
- Editor (deprecated)
- Gravatar
- LineChart
- NoBot
- PieChart
- Rating
- ReorderList
- Seadragon
- TabContainer
- TabPanel
Extenders:
- AlwaysVisibleControl
- Animation
- AutoComplete
- BalloonPopup
- Calendar
- CascadingDropDown
- CollapsiblePanel
- ColorPicker
- ConfirmButton
- DragPanel
- DropDown
- DropShadow
- DynamicPopulate
- FilteredTextBox
- HoverMenu
- HtmlEditor
- ListSearch
- MaskedEdit
- MaskedEditValidator
- ModalPopup
- MultiHandleSlider
- MutuallyExclusiveCheckBox
- NumericUpDown
- PagingBulletedList
- PasswordStrength
- PopupControl
- ResizableControl
- RoundedCorners
- Slider
- SlideShow
- TextBoxWatermark
- ToggleButton
- UpdatePanelAnimation
- ValidatorCallout