Class TabContainer
Inheritance
System.Object
TabContainer
Implements
System.Web.UI.INamingContainer
System.Web.UI.IPostBackDataHandler
System.Web.UI.ICallbackEventHandler
System.Web.UI.IPostBackEventHandler
Assembly: AjaxControlToolkit.dll
Version: 13.30.0
[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
Declaration
Properties
Declaration
public TabPanel ActiveTab { get; set; }
Property Value
Declaration
public virtual int ActiveTabIndex { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
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 |
|
Declaration
public override string CssClass { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public override Unit Height { get; set; }
Property Value
Type |
Description |
System.Web.UI.WebControls.Unit |
|
Declaration
[ExtenderControlEvent]
[ClientPropertyName("activeTabChanged")]
public string OnClientActiveTabChanged { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
[ClientPropertyName("scrollBars")]
[ExtenderControlProperty]
public ScrollBars ScrollBars { get; set; }
Property Value
Type |
Description |
System.Web.UI.WebControls.ScrollBars |
|
Declaration
public TabPanelCollection Tabs { get; }
Property Value
Declaration
public TabStripPlacement TabStripPlacement { get; set; }
Property Value
Declaration
[ExtenderControlProperty]
[ClientPropertyName("autoPostBackId")]
public string UniqueID { get; set; }
Property Value
Type |
Description |
System.String |
|
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 |
|
Declaration
protected override void AddedControl(Control control, int index)
Parameters
Type |
Name |
Description |
System.Web.UI.Control |
control |
|
System.Int32 |
index |
|
Declaration
protected override void AddParsedSubObject(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Declaration
protected override ControlCollection CreateControlCollection()
Returns
Type |
Description |
System.Web.UI.ControlCollection |
|
Declaration
protected override Style CreateControlStyle()
Returns
Type |
Description |
System.Web.UI.WebControls.Style |
|
Declaration
protected override void LoadClientState(string clientState)
Parameters
Type |
Name |
Description |
System.String |
clientState |
|
Overrides
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
Declaration
protected virtual void OnActiveTabChanged(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected override void OnInit(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
RaisePostDataChangedEvent()
Declaration
protected override void RaisePostDataChangedEvent()
Overrides
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 |
|
Declaration
protected virtual void RenderHeader(HtmlTextWriter writer)
Parameters
Type |
Name |
Description |
System.Web.UI.HtmlTextWriter |
writer |
|
Declaration
protected override string SaveClientState()
Returns
Type |
Description |
System.String |
|
Overrides
Declaration
protected override object SaveControlState()
Returns
Type |
Description |
System.Object |
|
Declaration
public bool ShouldSerializeActiveTabIndexForClient()
Returns
Type |
Description |
System.Boolean |
|
Declaration
public bool ShouldSerializeUniqueID()
Returns
Type |
Description |
System.Boolean |
|
Events
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