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.
bindTemplate(): void
Searches the DropDownListItem for a client control with the specified id parameter.
findControl(String id): Sys.UI.Control
The id of the control to search for
Returns:Sys.UI.Control
Gets the arbitrary attributes collection
get_attributes(): Telerik.Web.UI.AttributeCollection
Telerik.Web.UI.AttributeCollection
The arbitrary attributes collection
Returns the value of the DropDownListItem's ClientTemplate property.
get_clientTemplate(): void
Gets the RadDropDownList client-object
get_dropDownList(): Telerik.Web.UI.RadDropDownList
Telerik.Web.UI.RadDropDownList
Returns the parent RadDropDownList
Returns the element of the item
get_imageElement(): Element
Element
HTML element that holds the item
Gets the value of the ImageUrl property
get_imageUrl(): String
String
Gets the DropDownListItem's index inside the DropDownListItemCollection
get_index(): Number
Number
The index of the DropDownListItem
Gets a value indicating whether the ControlItem is the first item in the ControlItemCollection
get_isFirst(): Boolean
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
get_isLast(): Boolean
Boolean
Value indicating whether the ControlItem is the last item in the ContorolCollection
Gets an instance of the next sibling of a ControlItem
get_nextSibling(): Telerik.Web.UI.ControlItem
Telerik.Web.UI.ControlItem
The next sibling
The DropDownListItem's parent
get_parent(): Element
Element
Gets the DropDownListItem
Gets an instance of the previous sibling of a ControlItem.
get_previousSibling(): Telerik.Web.UI.ControlItem
Telerik.Web.UI.ControlItem
The previous sibling
Returns whether the item is selected
get_selected(): Boolean
Boolean
Value indicating whether the item is selected
Gets the Text of the item
get_text(): String
String
The value of the Text property
Returns the element of the item
get_textElement(): Element
Element
HTML element that holds the item
Gets th Value of the item
get_value(): String
String
The value of the Value propert
Gets a value indicating whether the DropDownListItem is visible or not
get_visible(): Boolean
Boolean
Value indicating whether the DropDownListItem is visible or not
Selects the item (equal to set_selected(true))
select(): void
Sets the value of the DropDownListItem's ClientTemplate property.
set_clientTemplate(String value): void
value
Sets the item's dom element
set_element(Element value): void
The HTML element of the item
set_enabled(Boolean value): void
Sets the ImageUrl property of the item
set_imageUrl(String value): void
String value for the ImageUrl property
Sets the DropDownListItem's parent
set_parent(Element value): void
DOM element
Selects the item
set_selected(Boolean value): void
Bool value indicating whether the item is selected
Sets the DropDownListItem's text
set_text(String text): void
The new DropDownListItem text
set_value(String value): void
The new DropDownListItem text
Sets whether the item is visible
set_visible(Boolean value): void
Indicates whether the item is visible.
The JSON representation of the DropDownListItem
toJsonString(): String
String
Returns the JSON representation of the DropDownListItem
Unselects the item (equal to set_selected(false))
unselect(): void