-
Notifications
You must be signed in to change notification settings - Fork 137
TabPanel
TabPanel is a part of the TabContainer element. It can be used to organize page content. Each TabPanel defines its HeaderText or HeaderTemplate as well as the ContentTemplate that defines its content.The most recent tab should remain selected after a postback, and the Enabled state of tabs should be preserved after a postback.
Name | Description |
---|---|
ContentTemplate | TemplateInstance.Single ITemplate to use for rendering the body |
DynamicContextKey | An arbitrary string value to be passed to the dynamically populated Web method |
DynamicServiceMethod | The name of a method to call on the page or web service |
DynamicServicePath | The URL of the web service to call |
Enabled | Determines whether or not to display a tab for the TabPanel by default Remarks: This can be changed on the client side |
HeaderTemplate | TemplateInstance.Single ITemplate to use to render the header |
HeaderText | Text to display in the tab |
OnClientClick | The name of a JavaScript function to attach to the tab's client-side Click event |
OnClientPopulated | A handler to attach to the client-side populated event |
OnClientPopulating | A handler to attach to the client-side populating event |
OnDemandMode | Determines whether or not to load a tab (Always, Once, None) when the container's onDemand property is true |
ScrollBars | Detemines whether or not to display scrollbars (None, Horizontal, Vertical, Both, Auto) in the body of the TabPanel |
UpdatePanelID | Introduces UpdatePanelID to the client side by prototyping it |
WasLoadedOnce | Determines the loading status of the tab in Once demand mode |
Name | Description |
---|---|
dynamicContextKey | An arbitrary string value to be passed to the dynamically populated web method |
dynamicServiceMethod | The name of the method to call on the page or web service |
dynamicServicePath | The URL of the web service to call |
enabled | Determines whether or not to display the tab for the TabPanel by default |
headerTab | A header tab |
headerText | Text to display in the tab |
onDemandMode | Determines whether or not to load the tab (Always, Once, None) when the container's onDemand property is true |
owner | The owner TabContainer |
ownerID | The ID of the owner TabContainer element |
scrollBars | Determines whether or not to display scrollbars (None, Horizontal, Vertical, Both, Auto) in the body of the TabPanel |
tabIndex | The current tab index |
updatePanelID | ID of the panel to update |
wasLoadedOnce | Determines the loading status of the tab in Once demand mode |
Name | Description |
---|---|
click | Fires on a click |
populated | Fires when tab populating is performed |
populating | Fires when tab populating begins |
An arbitrary string value to be passed to the dynamically populated web method
Getter name: get_dynamicContextKey()
Setter name: set_dynamicContextKey(value)
The name of the method to call on the page or web service
Getter name: get_dynamicServiceMethod()
Setter name: set_dynamicServiceMethod(value)
The URL of the web service to call
Getter name: get_dynamicServicePath()
Setter name: set_dynamicServicePath(value)
Determines whether or not to display the tab for the TabPanel by default
Getter name: get_enabled()
Setter name: set_enabled(value)
A header tab
Getter name: get_headerTab()
Setter name: set_headerTab(value)
Text to display in the tab
Getter name: get_headerText()
Setter name: set_headerText(value)
Determines whether or not to load the tab (Always, Once, None) when the container's onDemand property is true
Getter name: get_onDemandMode()
Setter name: set_onDemandMode(value)
The owner TabContainer
Getter name: get_owner()
Setter name: set_owner(value)
The ID of the owner TabContainer element
Getter name: get_ownerID()
Setter name: set_ownerID(value)
Determines whether or not to display scrollbars (None, Horizontal, Vertical, Both, Auto) in the body of the TabPanel
Getter name: get_scrollBars()
Setter name: set_scrollBars(value)
The current tab index
Getter name: get_tabIndex()
ID of the panel to update
Getter name: get_updatePanelID()
Setter name: set_updatePanelID(value)
Determines the loading status of the tab in Once demand mode
Getter name: get_wasLoadedOnce()
Setter name: set_wasLoadedOnce(value)
Fires on a click
Add event handler method: add_click(handler)
Remove event handler method: remove_click(handler)
Raise event method: raise_click()
Fires when tab populating is performed
Add event handler method: add_populated(handler)
Remove event handler method: remove_populated(handler)
Raise event method: raise_populated()
Fires when tab populating begins
Add event handler method: add_populating(handler)
Remove event handler method: remove_populating(handler)
Raise event method: raise_populating()
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