Skip to main content

BootstrapClientPageControl.GetTabByName(name) Method

Returns a tab specified by its name.

Declaration

GetTabByName(
    name: string
): BootstrapClientTab

Parameters

Name Type Description
name string

A string value specifying the name of the tab.

Returns

Type Description
BootstrapClientTab

A BootstrapClientTab object that represents the tab with the specified name.

Remarks

The Page Control’s client-side functionality allows tabs to be accessed programmatically on the client side. This method gets a client tab object specified by its name. A tab’s name is defined by the TabBase.Name property.

Note that if an invalid name is passed via the parameter, this method returns null.

See Also