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

Definition

Namespace:Telerik.Web.UI

Inheritance: Telerik.Web.UI.ControlItemTelerik.Web.UI.DropDownListItem

Methods

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

JS
bindTemplate(): void

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

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

The id of the control to search for

Returns:

Sys.UI.Control

Gets the arbitrary attributes collection

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

Telerik.Web.UI.AttributeCollection

The arbitrary attributes collection

Returns the value of the DropDownListItem's ClientTemplate property.

JS
get_clientTemplate(): void

Gets the RadDropDownList client-object

JS
get_dropDownList(): Telerik.Web.UI.RadDropDownList
Returns:

Telerik.Web.UI.RadDropDownList

Returns the parent RadDropDownList

Returns the element of the item

JS
get_imageElement(): Element
Returns:

Element

HTML element that holds the item

Gets the value of the ImageUrl property

JS
get_imageUrl(): String
Returns:

String

Gets the DropDownListItem's index inside the DropDownListItemCollection

JS
get_index(): Number
Returns:

Number

The index of the DropDownListItem

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 DropDownListItem 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 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 DropDownListItem's parent

JS
get_parent(): Element
Returns:

Element

Gets the DropDownListItem

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

Returns whether the item is selected

JS
get_selected(): Boolean
Returns:

Boolean

Value indicating whether the item is selected

Gets the Text of the item

JS
get_text(): String
Returns:

String

The value of the Text property

Returns the element of the item

JS
get_textElement(): Element
Returns:

Element

HTML element that holds the item

Gets th Value of the item

JS
get_value(): String
Returns:

String

The value of the Value propert

Gets a value indicating whether the DropDownListItem is visible or not

JS
get_visible(): Boolean
Returns:

Boolean

Value indicating whether the DropDownListItem is visible or not

Selects the item (equal to set_selected(true))

JS
select(): void

Sets the value of the DropDownListItem's ClientTemplate property.

JS
set_clientTemplate(String value): void
Parameters:valueString

value

Sets the item's dom element

JS
set_element(Element value): void
Parameters:valueElement

The HTML element of the item

JS
set_enabled(Boolean value): void
Parameters:valueBoolean

Sets the ImageUrl property of the item

JS
set_imageUrl(String value): void
Parameters:valueString

String value for the ImageUrl property

Sets the DropDownListItem's parent

JS
set_parent(Element value): void
Parameters:valueElement

DOM element

Selects the item

JS
set_selected(Boolean value): void
Parameters:valueBoolean

Bool value indicating whether the item is selected

Sets the DropDownListItem's text

JS
set_text(String text): void
Parameters:textString

The new DropDownListItem text

JS
set_value(String value): void
Parameters:valueString

The new DropDownListItem text

Sets whether the item is visible

JS
set_visible(Boolean value): void
Parameters:valueBoolean

Indicates whether the item is visible.

The JSON representation of the DropDownListItem

JS
toJsonString(): String
Returns:

String

Returns the JSON representation of the DropDownListItem

Unselects the item (equal to set_selected(false))

JS
unselect(): void
Not finding the help you need?
Contact Support