Edit this page

Telerik.Web.UI.ControlItem

Inheritance Hierarchy

Methods

findControl

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

Parameters

id String

Returns

Sys.UI.Control

get_attributes

Gets the arbitrary attributes collection

Parameters

Returns

Telerik.Web.UI.AttributeCollection The arbitrary attributes collection

get_element

Gets he DOM element for the ControlItem

Parameters

Returns

Element The DOM element for the ControlItem

get_enabled

Gets a value indicating whether the ControlItem is enabled or disabled

Parameters

Returns

Boolean Value indicating whether the ControlItem is enabled or disabled

get_index

Gets the ControlItem's index inside the ControlItemCollection

Parameters

Returns

Number The index of the ControlItem

get_isFirst

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

Parameters

Returns

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

get_isLast

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

Parameters

Returns

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

get_level

Gets the Level of the item in the ControlItemContainer structure.

Parameters

Returns

Number The level of the ContolItem

get_nextSibling

Gets an instance of the next sibling of a ControlItem

Parameters

Returns

Telerik.Web.UI.ControlItem The next sibling

get_parent

The ControlItem's parent

Parameters

Returns

Object Gets the ControlItem

get_previousSibling

Gets an instance of the previous sibling of a ControlItem.

Parameters

Returns

Telerik.Web.UI.ControlItem The previous sibling

get_text

Gets the ControlItem's text

Parameters

Returns

String The text of the ControlItem

get_value

Gets the ControlItem's value

Parameters

Returns

String The value of the ControlItem

get_visible

Gets a value indicating whether the ControlItem is visible or not

Parameters

Returns

Boolean Value indicating whether the ControlItem is visible or not

set_element

Sets the ControlItem's DOM element

Parameters

value Element

DOM element

Returns

None

set_enabled

Enables or disables the ControlItem

Parameters

value Boolean

Boolean value indicating whether the ControlItem is enabled or disabled

Returns

None

set_parent

Sets the ControlItem's parent

Parameters

value Element

DOM element

Returns

None

set_text

Sets the ControlItem's text

Parameters

text String

The new ControlItem text

Returns

None

set_value

Parameters

value String

The new ControlItem text

Returns

None

set_visible

Sets the visibility of the COontrolItem

Parameters

value Boolean

Boolean value indicating whether the ControlItem is visible or not

Returns

None

toJsonString

The JSON representation of the ControlItem

Parameters

Returns

String Returns the JSON representation of the ControlItem