November Happy Hour will be moved to Thursday December 5th.

Class TabContainer

Inheritance
System.Object
TabContainer
Implements
System.Web.UI.INamingContainer
System.Web.UI.IPostBackDataHandler
System.Web.UI.ICallbackEventHandler
System.Web.UI.IPostBackEventHandler
Namespace: AjaxControlToolkit
Assembly: AjaxControlToolkit.dll
Version: 13.30.0
Syntax
[RequiredScript(typeof(CommonToolkitScripts))]
[ClientCssResource("AjaxControlToolkit.Tabs.Tabs.css")]
[ClientScriptResource("AjaxControlToolkit.TabContainer", "AjaxControlToolkit.Tabs.Tabs.js")]
public class TabContainer : ScriptControlBase, INamingContainer, IControlResolver, IPostBackDataHandler, ICallbackEventHandler, IClientStateManager, IPostBackEventHandler

Constructors

TabContainer()

Declaration
public TabContainer()

Properties

ActiveTab

Declaration
public TabPanel ActiveTab { get; set; }
Property Value
Type Description
TabPanel

ActiveTabIndex

Declaration
public virtual int ActiveTabIndex { get; set; }
Property Value
Type Description
System.Int32

ActiveTabIndexForClient

Declaration
[ExtenderControlProperty]
[ClientPropertyName("activeTabIndex")]
public int ActiveTabIndexForClient { get; }
Property Value
Type Description
System.Int32

AutoPostBack

Declaration
public bool AutoPostBack { get; set; }
Property Value
Type Description
System.Boolean

CssClass

Declaration
public override string CssClass { get; set; }
Property Value
Type Description
System.String

Height

Declaration
public override Unit Height { get; set; }
Property Value
Type Description
System.Web.UI.WebControls.Unit

OnClientActiveTabChanged

Declaration
[ExtenderControlEvent]
[ClientPropertyName("activeTabChanged")]
public string OnClientActiveTabChanged { get; set; }
Property Value
Type Description
System.String

ScrollBars

Declaration
[ClientPropertyName("scrollBars")]
[ExtenderControlProperty]
public ScrollBars ScrollBars { get; set; }
Property Value
Type Description
System.Web.UI.WebControls.ScrollBars

Tabs

Declaration
public TabPanelCollection Tabs { get; }
Property Value
Type Description
TabPanelCollection

TabStripPlacement

Declaration
public TabStripPlacement TabStripPlacement { get; set; }
Property Value
Type Description
TabStripPlacement

UniqueID

Declaration
[ExtenderControlProperty]
[ClientPropertyName("autoPostBackId")]
public string UniqueID { get; set; }
Property Value
Type Description
System.String

Width

Declaration
public override Unit Width { get; set; }
Property Value
Type Description
System.Web.UI.WebControls.Unit

Methods

AddAttributesToRender(HtmlTextWriter)

Declaration
protected override void AddAttributesToRender(HtmlTextWriter writer)
Parameters
Type Name Description
System.Web.UI.HtmlTextWriter writer

AddedControl(Control, Int32)

Declaration
protected override void AddedControl(Control control, int index)
Parameters
Type Name Description
System.Web.UI.Control control
System.Int32 index

AddParsedSubObject(Object)

Declaration
protected override void AddParsedSubObject(object obj)
Parameters
Type Name Description
System.Object obj

CreateControlCollection()

Declaration
protected override ControlCollection CreateControlCollection()
Returns
Type Description
System.Web.UI.ControlCollection

CreateControlStyle()

Declaration
protected override Style CreateControlStyle()
Returns
Type Description
System.Web.UI.WebControls.Style

LoadClientState(String)

Declaration
protected override void LoadClientState(string clientState)
Parameters
Type Name Description
System.String clientState
Overrides

LoadControlState(Object)

Declaration
protected override void LoadControlState(object savedState)
Parameters
Type Name Description
System.Object savedState

LoadPostData(String, NameValueCollection)

Declaration
protected override bool LoadPostData(string postDataKey, NameValueCollection postCollection)
Parameters
Type Name Description
System.String postDataKey
System.Collections.Specialized.NameValueCollection postCollection
Returns
Type Description
System.Boolean
Overrides

OnActiveTabChanged(EventArgs)

Declaration
protected virtual void OnActiveTabChanged(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

OnInit(EventArgs)

Declaration
protected override void OnInit(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

RaisePostDataChangedEvent()

Declaration
protected override void RaisePostDataChangedEvent()
Overrides

RemovedControl(Control)

Declaration
protected override void RemovedControl(Control control)
Parameters
Type Name Description
System.Web.UI.Control control

RenderContents(HtmlTextWriter)

Declaration
protected override void RenderContents(HtmlTextWriter writer)
Parameters
Type Name Description
System.Web.UI.HtmlTextWriter writer

RenderHeader(HtmlTextWriter)

Declaration
protected virtual void RenderHeader(HtmlTextWriter writer)
Parameters
Type Name Description
System.Web.UI.HtmlTextWriter writer

SaveClientState()

Declaration
protected override string SaveClientState()
Returns
Type Description
System.String
Overrides

SaveControlState()

Declaration
protected override object SaveControlState()
Returns
Type Description
System.Object

ShouldSerializeActiveTabIndexForClient()

Declaration
public bool ShouldSerializeActiveTabIndexForClient()
Returns
Type Description
System.Boolean

ShouldSerializeUniqueID()

Declaration
public bool ShouldSerializeUniqueID()
Returns
Type Description
System.Boolean

Events

ActiveTabChanged

Declaration
public event EventHandler ActiveTabChanged
Event Type
Type Description
System.EventHandler

Implements

System.Web.UI.INamingContainer
System.Web.UI.IPostBackDataHandler
System.Web.UI.ICallbackEventHandler
System.Web.UI.IPostBackEventHandler