BasicTabControl Class |
Namespace: CMS.Controls
public class BasicTabControl : CMSWebControl, INamingContainer, IPostBackEventHandler
The BasicTabControl type exposes the following members.
Name | Description | |
---|---|---|
BasicTabControl |
Name | Description | |
---|---|---|
AddTab |
Adds a tab.
| |
CreateChildControls |
Create child controls
(Overrides ControlCreateChildControls.) | |
GenerateMenu |
Generate menu
| |
GetRedirScript |
Gets the redirection script
| |
GetTabMenuLayout |
Returns TabControlLayoutEnum value derived from name
| |
InsertTab |
Inserts tab at specified index.
| |
OnInit |
Init event handler.
(Inherited from CMSWebControl.) | |
OnPreRender |
OnPreRender override - register javascript functions
(Overrides ControlOnPreRender(EventArgs).) | |
RaisePostBackEvent |
RaisePostbackEvent handler
| |
RegisterScripts |
Register scrips
| |
Render |
Renders the control.
(Overrides WebControlRender(HtmlTextWriter).) | |
VerifySelectedTab |
Verifies the selected tab index making sure that it doesn't exceed the number of tabs
|
Name | Description | |
---|---|---|
AddCssClass |
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
CallHandled |
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.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetCssClasses |
Returns all CSS classes of control.
(Defined by ControlsExtensions.) | |
GetRenderedHTML |
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
HasCssClass |
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
RemoveCssClass |
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
SetCssClasses |
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Name | Description | |
---|---|---|
AfterLastTab |
Content located after the last tab (in its own cell)
| |
BeforeFirstTab |
Content located before the first tab (in its own cell)
| |
EnableScrolling |
Indicates whether the tab control should support inbuilt scrolling.
| |
HideControlForZeroRows |
Hides the control when no data is loaded. Default value is False.
| |
IsLiveSite |
Indicates if control is used on live site.
(Inherited from CMSWebControl.) | |
RenderedHTML |
Get or set rendered HTML code.
| |
RenderLinks |
If true, the tab renders the link as well as the javascript
| |
RenderLinkTitle |
Render the link title attribute?
| |
ScrollPanelCss |
Gets or sets the CSS style used for the scroll panel wrapper tag.
| |
SelectedTab |
Index of the selected tab.
| |
SelectFirstItemByDefault |
If is set true, first item will be selected by default if is not some other item selected
| |
ShortID |
Short ID of the control.
(Inherited from CMSWebControl.) | |
TabControlIdPrefix |
Tab control ID prefix
| |
TabControlLayout |
Horizontal or vertical layout.
| |
TabItems |
Collection of tabs.
| |
TabItemsInternal |
Internal collection of tabs (built either from Tabs or TabItems).
| |
UIContext |
Returns control's UI context
(Inherited from CMSWebControl.) | |
UrlTarget |
If URL for tab items is set, this property specifies target frame for all URLs.
| |
UseClientScript |
Indicates if client script should be generated for each tab.
| |
UseIFrame |
If true, target frame is not in parent frames but iframe
| |
UsePostback |
Indicates if postback is fired when tab is clicked.
| |
ZeroRowsText |
Text to be shown when the control is hidden by HideControlForZeroRows.
|
Name | Description | |
---|---|---|
OnTabClicked |
Event for tab clicked.
|