Edit this page

RadDropDownList Object

The following table lists the most important methods of the client-side RadDropDownList object:

Name Parameters Return Type Description
commitChanges none none Writes the changes to the DropDownList that were made since a previous call to trackChanges, so that they are preserved over post-backs.
saveClientState none none Saves the client state to the client state hidden field
repaint none none Refreshes the RadDropDownList UI
set_enabled Boolean none Enables RadDropDownList
get_items none DropDownListItemCollection Gets a collection with all items
get_selectedItem none DropDownListItem Gets the selected item.
get_childListElement none none Gets the UL element of the RadDropDownList
get_dropDownElement none none Gets the root DOM element of the RadDropDownList
get_textElement none none Gets the DOM element of the RadDropDownList where the text of the currently selected item is shown.
openDropDown none none Opens the DropDown
closeDropDown none none Closes the DropDown
toggleDropDown none none Toggles the DropDown state between opened and closed.
get_clientTemplate none none Returns the value of the RadDropDownList's ClientItemTemplate property.
set_clientTemplate String none Sets the value of the RadDropDownList's ClientItemTemplate property.
get_emptySelectionMessage none none Returns the value of the RadDropDownList's EmptySelectionMessage property.
set_emptySelectionMessage String none Sets the value of the RadDropDownList's EmptySelectionMessage property.