KaxTabControl Class |
Namespace: Kettic.AspNet.Controls
The KaxTabControl type exposes the following members.
Name | Description | |
---|---|---|
KaxTabControl |
Initializes a new instance of the KaxTabControl class.
|
Name | Description | |
---|---|---|
FindTab |
Returns the first KaxTab
that matches the conditions defined by the specified predicate.
The predicate should returns a boolean value.
| |
FindTabByText(String) | ||
FindTabByText(String, Boolean) | ||
FindTabByUrl |
Searches the KaxTabControl control for the first
KaxTab whose NavigateUrl
property is equal to the specified value.
| |
FindTabByValue(String) | ||
FindTabByValue(String, Boolean) | ||
GetAllTabs |
Gets a linear list of all tabs in the KaxTabControl control.
| |
LoadContentFile |
Populates the KaxTabControl control from external XML file.
(Overrides HierarchicalControlItemContainerLoadContentFile(String).) |
Name | Description | |
---|---|---|
Align | Gets or sets the alignment of the tabs in the KaxTabControl control. | |
AppendDataBoundItems | Gets or sets a value that indicates whether child tabs are cleared before data binding. | |
AutoPostBack |
Gets or sets a value indicating whether tabs should postback when clicked.
| |
CausesValidation |
Gets or sets a value indicating whether validation is performed when a tab within
the KaxTabControl control is selected.
(Overrides ControlItemContainerCausesValidation.) | |
ClickSelectedTab |
Gets or sets a value indicating whether the tabcontrol should postback when the user clicks the currently selected tab.
| |
ClientChanges |
Gets a list of all client-side changes (adding a tab, removing a tab, changing a tab's property) which have occurred.
| |
DataBindings |
Gets a collection of KaxTabBindingCollection objects that define the relationship
between a data item and the tab it is binding to.
| |
DataFieldID |
Gets or sets the field from the data source which is the "child" column in the
"parent-child" relationship used to databind the KaxTabControl
control.
(Overrides HierarchicalControlItemContainerDataFieldID.) | |
DataFieldParentID |
Gets or sets the field from the data source which is the "parent" column in the
"parent-child" relationship used to databind the KaxTabControl
control.
(Overrides HierarchicalControlItemContainerDataFieldParentID.) | |
DataNavigateUrlField |
Gets or sets the field of the data source that provides the URL to which tabs navigate.
(Overrides HierarchicalControlItemContainerDataNavigateUrlField.) | |
DataTextField |
Gets or sets the field of the data source that provides the text content of the tabs.
(Overrides ControlItemContainerDataTextField.) | |
DataTextFormatString |
Gets or sets the formatting string used to control how text to the tabcontrol
control is displayed.
(Overrides ControlItemContainerDataTextFormatString.) | |
DataValueField |
Gets or sets the field of the data source that provides the value of the tabs.
(Overrides ControlItemContainerDataValueField.) | |
EnableSubLevelStyles |
Controls whether the subitems of the tabcontrol will have different styles than the main items.
| |
InnermostSelectedTab |
Gets the innermost selected tab in a hierarchical KaxTabControl control.
| |
KaxTabScrolling |
Gets or sets a value indicating whether the tabcontrol should scroll directly to
the next tab.
| |
MaxDataBindDepth |
Gets or sets the maximum number of levels to bind to the KaxTabControl control.
(Overrides HierarchicalControlItemContainerMaxDataBindDepth.) | |
MultiPage |
Gets the associated KaxMultiPage control if the
MultiPageID property is set.
| |
MultiPageID |
Gets or sets the ID of the KaxMultiPage control that
will be controlled by the current KaxTabControl control.
| |
OnClientContextMenu |
Gets or sets a value indicating the client-side event handler that is called
before the browser context menu shows (after right-clicking an item).
| |
OnClientDoubleClick |
Gets or sets a value indicating the client-side event handler that is called
when the user double-clicks a tab.
| |
OnClientLoad |
Gets or sets the name of the javascript function called when the control is fully
initialized on the client side.
| |
OnClientMouseOut |
Gets or sets a value indicating the client-side event handler that is called when
the mouse leaves a tab in the KaxTabControl control.
| |
OnClientMouseOver |
Gets or sets a value indicating the client-side event handler that is called when
the mouse hovers a tab in the KaxTabControl control.
| |
OnClientTabSelected |
Gets or sets a value indicating the client-side event handler that is called
after selecting a tab.
| |
OnClientTabSelecting |
Gets or sets a value indicating the client-side event handler that is called just
prior to selecting a tab.
| |
OnClientTabUnSelected |
Gets or sets a value indicating the client-side event handler that is called
after a tab is unselected (i.e. the user has selected another tab).
| |
Orientation |
Gets or sets a value indicating the orientation of child tabs within the
KaxTabControl control.
| |
PostBackUrl |
Gets or sets the URL of the page to post to from the current page when a tab
from the tabcontrol is clicked.
(Overrides ControlItemContainerPostBackUrl.) | |
ReorderTabsOnSelect |
Gets or sets a value indicating whether the row of the selected tab should move
to the bottom.
| |
ScrollButtonsPosition | The position of the scroll buttons with regards to the tab band. | |
ScrollChildren |
Gets or sets a value indicating whether the immediate children of the KaxTabControl control will be
scrollable.
| |
ScrollPosition |
Gets or sets the position of the scrollable band of tabs relative to the
beginning of the scrolling area.
| |
SelectedIndex |
Gets or sets the index of the selected child tab.
| |
SelectedTab |
Gets the selected child tab.
| |
ShowBaseLine |
Shows or hides the image at the base of the first level of tabs.
| |
Tabs |
Gets a KaxTabCollection object that contains the root tabs of the current KaxTabControl control.
| |
TabTemplate | Gets or sets the template for displaying all tabs in the KaxTabControl control. | |
UnSelectChildren |
Gets or sets a value determining whether child tabs are unselected when a parent
tab is unselected.
| |
ValidationGroup | Gets or sets the name of the validation group to which this validation control belongs. |
Name | Description | |
---|---|---|
TabClick |
Occurs on the server when a tab in the KaxTabControl
control is clicked.
| |
TabCreated | Occurs when a tab is created. | |
TabDataBound | Occurs when a tab is data bound. | |
TemplateNeeded | Occurs before template is being applied to the tab. |
The KaxTabControl control is used to display a list of tabs in a Web Forms page and is often used in combination with a KaxMultiPage control for building tabbed interfaces. The KaxTabControl control supports the following features:
The KaxTabControl control is made up of tree of tabs represented by KaxTab objects. Tabs at the top level (level 0) are called root tabs. A tab that has a parent tab is called a child tab. All root tabs are stored in the Tabs collection. Child tabs are stored in a parent tab's Tabs collection.
Each tab has a Text and a Value property. The value of the Text property is displayed in the KaxTabControl control, while the Value property is used to store any additional data about the tab, such as data passed to the postback event associated with the tab. When clicked, a tab can navigate to another Web page indicated by the NavigateUrl property.