New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Definition

Namespace:Telerik.Web.UI

Inheritance: Telerik.Web.UI.ControlItem

Methods

Searches the ControlItem for a client control with the specified id parameter.

JS
findControl(String id): Sys.UI.Control
Parameters:idStringReturns:

Sys.UI.Control

Gets the arbitrary attributes collection

JS
get_attributes(): Telerik.Web.UI.AttributeCollection
Returns:

Telerik.Web.UI.AttributeCollection

The arbitrary attributes collection

Gets he DOM element for the ControlItem

JS
get_element(): Element
Returns:

Element

The DOM element for the ControlItem

Gets a value indicating whether the ControlItem is enabled or disabled

JS
get_enabled(): Boolean
Returns:

Boolean

Value indicating whether the ControlItem is enabled or disabled

Gets the ControlItem's index inside the ControlItemCollection

JS
get_index(): Number
Returns:

Number

The index of the ControlItem

Gets a value indicating whether the ControlItem is the first item in the ControlItemCollection

JS
get_isFirst(): Boolean
Returns:

Boolean

Value indicating whether the ControlItem is the first item in the ContorolCollection

Gets a value indicating whether the ControlItem is the last item in the ControlItemCollection

JS
get_isLast(): Boolean
Returns:

Boolean

Value indicating whether the ControlItem is the last item in the ContorolCollection

Gets the Level of the item in the ControlItemContainer structure.

JS
get_level(): Number
Returns:

Number

The level of the ContolItem

Gets an instance of the next sibling of a ControlItem

JS
get_nextSibling(): Telerik.Web.UI.ControlItem
Returns:

Telerik.Web.UI.ControlItem

The next sibling

The ControlItem's parent

JS
get_parent(): Object
Returns:

Object

Gets the ControlItem

Gets an instance of the previous sibling of a ControlItem.

JS
get_previousSibling(): Telerik.Web.UI.ControlItem
Returns:

Telerik.Web.UI.ControlItem

The previous sibling

Gets the ControlItem's text

JS
get_text(): String
Returns:

String

The text of the ControlItem

Gets the ControlItem's value

JS
get_value(): String
Returns:

String

The value of the ControlItem

Gets a value indicating whether the ControlItem is visible or not

JS
get_visible(): Boolean
Returns:

Boolean

Value indicating whether the ControlItem is visible or not

Sets the ControlItem's DOM element

JS
set_element(Element value): void
Parameters:valueElement

DOM element

Enables or disables the ControlItem

JS
set_enabled(Boolean value): void
Parameters:valueBoolean

Boolean value indicating whether the ControlItem is enabled or disabled

Sets the ControlItem's parent

JS
set_parent(Element value): void
Parameters:valueElement

DOM element

Sets the ControlItem's text

JS
set_text(String text): void
Parameters:textString

The new ControlItem text

JS
set_value(String value): void
Parameters:valueString

The new ControlItem text

Sets the visibility of the COontrolItem

JS
set_visible(Boolean value): void
Parameters:valueBoolean

Boolean value indicating whether the ControlItem is visible or not

The JSON representation of the ControlItem

JS
toJsonString(): String
Returns:

String

Returns the JSON representation of the ControlItem

Not finding the help you need?
Contact Support