Click or drag to resize
BasicTabControl Class
General tab control class.
Inheritance Hierarchy

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 11.0.0
Syntax
C#
public class BasicTabControl : CMSWebControl, 
	INamingContainer, IPostBackEventHandler

The BasicTabControl type exposes the following members.

Constructors
  NameDescription
Public methodBasicTabControl
Top
Properties
  NameDescription
Public propertyAfterLastTab
Content located after the last tab (in its own cell)
Public propertyBeforeFirstTab
Content located before the first tab (in its own cell)
Public propertyEnableScrolling
Indicates whether the tab control should support inbuilt scrolling.
Public propertyHideControlForZeroRows
Hides the control when no data is loaded. Default value is False.
Public propertyIsLiveSite
Indicates if control is used on live site.
(Inherited from CMSWebControl.)
Public propertyRenderedHTML
Get or set rendered HTML code.
Public propertyRenderLinks
If true, the tab renders the link as well as the javascript
Public propertyRenderLinkTitle
Render the link title attribute?
Public propertyScrollPanelCss
Gets or sets the CSS style used for the scroll panel wrapper tag.
Public propertySelectedTab
Index of the selected tab.
Public propertySelectFirstItemByDefault
If is set true, first item will be selected by default if is not some other item selected
Public propertyShortID
Short ID of the control.
(Inherited from CMSWebControl.)
Public propertyTabControlIdPrefix
Tab control ID prefix
Public propertyTabControlLayout
Horizontal or vertical layout.
Public propertyTabItems
Collection of tabs.
Protected propertyTabItemsInternal
Internal collection of tabs (built either from Tabs or TabItems).
Public propertyUrlTarget
If URL for tab items is set, this property specifies target frame for all URLs.
Public propertyUseClientScript
Indicates if client script should be generated for each tab.
Public propertyUseIFrame
If true, target frame is not in parent frames but iframe
Public propertyUsePostback
Indicates if postback is fired when tab is clicked.
Public propertyZeroRowsText
Text to be shown when the control is hidden by HideControlForZeroRows.
Top
Methods
  NameDescription
Public methodAddTab
Adds a tab.
Protected methodCreateChildControls
Create child controls
(Overrides ControlCreateChildControls.)
Protected methodGenerateMenu
Generate menu
Public methodGetRedirScript
Gets the redirection script
Public methodStatic memberGetTabMenuLayout
Returns TabControlLayoutEnum value derived from name
Public methodInsertTab
Inserts tab at specified index.
Protected methodOnInit
Init event handler.
(Inherited from CMSWebControl.)
Protected methodOnPreRender
OnPreRender override - register javascript functions
(Overrides ControlOnPreRender(EventArgs).)
Public methodRaisePostBackEvent
RaisePostbackEvent handler
Protected methodRegisterScripts
Register scrips
Protected methodRender
Renders the control.
(Overrides WebControlRender(HtmlTextWriter).)
Protected methodVerifySelectedTab
Verifies the selected tab index making sure that it doesn't exceed the number of tabs
Top
Extension Methods
  NameDescription
Public Extension MethodAddCssClass
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodCallHandled
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page. Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.)
Public Extension MethodGetCssClasses
Returns all CSS classes of control.
(Defined by ControlsExtensions.)
Public Extension MethodGetRenderedHTML
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by ControlsExtensions.)
Public Extension MethodHasCssClass
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodRemoveCssClass
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodSetCssClasses
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.)
Top
Events
  NameDescription
Public eventOnTabClicked
Event for tab clicked.
Top
See Also