Edit this page

Telerik.Web.UI.DropDownListItem : Telerik.Web.UI.ControlItem

Inheritance Hierarchy

Methods

bindTemplate

Evaluates the template against the DropDownListItem's data item and applies it.

Parameters

Returns

None

findControl

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

Parameters

id String

The id of the control to search for

Returns

Sys.UI.Control

get_attributes

Gets the arbitrary attributes collection

Parameters

Returns

Telerik.Web.UI.AttributeCollection The arbitrary attributes collection

get_clientTemplate

Returns the value of the DropDownListItem's ClientTemplate property.

Parameters

Returns

None

get_dropDownList

Gets the RadDropDownList client-object

Parameters

Returns

Telerik.Web.UI.RadDropDownList Returns the parent RadDropDownList

get_imageElement

Returns the element of the item

Parameters

Returns

Element HTML element that holds the item

get_imageUrl

Gets the value of the ImageUrl property

Parameters

Returns

String

get_index

Gets the DropDownListItem's index inside the DropDownListItemCollection

Parameters

Returns

Number The index of the DropDownListItem

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 DropDownListItem is the last item in the ControlItemCollection

Parameters

Returns

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

get_nextSibling

Gets an instance of the next sibling of a ControlItem

Parameters

Returns

Telerik.Web.UI.ControlItem The next sibling

get_parent

The DropDownListItem's parent

Parameters

Returns

Element Gets the DropDownListItem

get_previousSibling

Gets an instance of the previous sibling of a ControlItem.

Parameters

Returns

Telerik.Web.UI.ControlItem The previous sibling

get_selected

Returns whether the item is selected

Parameters

Returns

Boolean Value indicating whether the item is selected

get_text

Gets the Text of the item

Parameters

Returns

String The value of the Text property

get_textElement

Returns the element of the item

Parameters

Returns

Element HTML element that holds the item

get_value

Gets th Value of the item

Parameters

Returns

String The value of the Value propert

get_visible

Gets a value indicating whether the DropDownListItem is visible or not

Parameters

Returns

Boolean Value indicating whether the DropDownListItem is visible or not

select

Selects the item (equal to set_selected(true))

Parameters

Returns

None

set_clientTemplate

Sets the value of the DropDownListItem's ClientTemplate property.

Parameters

value String

value

Returns

None

set_element

Sets the item's dom element

Parameters

value Element

The HTML element of the item

Returns

None

set_enabled

Parameters

value Boolean

Returns

None

set_imageUrl

Sets the ImageUrl property of the item

Parameters

value String

String value for the ImageUrl property

Returns

None

set_parent

Sets the DropDownListItem's parent

Parameters

value Element

DOM element

Returns

None

set_selected

Selects the item

Parameters

value Boolean

Bool value indicating whether the item is selected

Returns

None

set_text

Sets the DropDownListItem's text

Parameters

text String

The new DropDownListItem text

Returns

None

set_value

Parameters

value String

The new DropDownListItem text

Returns

None

set_visible

Sets whether the item is visible

Parameters

value Boolean

Indicates whether the item is visible.

Returns

None

toJsonString

The JSON representation of the DropDownListItem

Parameters

Returns

String Returns the JSON representation of the DropDownListItem

unselect

Unselects the item (equal to set_selected(false))

Parameters

Returns

None