New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

RadDropDownListItemCollection Object

The RadDropDownListItemCollection object is returned by the get_items method of the RadDropDownList client object. The following table lists the most important methods:

NameParametersReturn TypeDescription
addDropDownListItemnoneAdds an item at the end of the Items' collection
insertNumbernoneInserts an item into the Items' collection at the position, specified by the first (index) parameter
removenonenoneRemoves an item from the Items collection
removeAtNumbernoneRemoves the item at the specified index.
clearnonenoneClears the Items collection of RadDropDownList
getItemindexDropDownListItemGets the item from the Items collection residing at the index specified by the parameter.
indexOfnoneNumberGets the index of an item.
forEachFunctionnoneIterates through the Items collection
toArraynonenoneReturns the collection represented as array
get_countnoneNumberReturns the number of items in the Items collection.
Not finding the help you need?
Contact Support