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

Definition

Namespace:Telerik.Web.UI

Inheritance: Telerik.Web.UI.ControlItemCollection<Telerik.Web.UI.RadListBoxItem>Telerik.Web.UI.RadListBoxItemCollection

Methods

Adds an item to the Items collection.

JS
add(Telerik.Web.UI.RadListBoxItem item): void
Parameters:itemTelerik.Web.UI.RadListBoxItem

The item that will ba added.

Clears the Items collection of RadListBox

JS
clear(): void

Searches the collection against a match passed as a parameter

JS
find(Function match): void
Parameters:matchFunction

Predicate that that all items in the collection are checked against. The first match is returned.

Iterates through the Items collection

JS
forEach(Function lambda): void
Parameters:lambdaFunction

The function to execute on each iteration

Returns the number of items in the Items collection.

JS
get_count(): Number
Returns:

Number

The number of the items

Gets the last N items where N is passed as a parameter

JS
get_last(Number value): void
Parameters:valueNumber

Indicates the last N items that should be returned

Gets the item from the Items collection residing at the index specified by the parameter.

JS
getItem(Number index): Telerik.Web.UI.RadListBoxItem
Parameters:indexNumber

The index of the Item that should be returned.

Returns:

Telerik.Web.UI.RadListBoxItem

ListBoxItem

Removes the item at the specified index.

JS
removeAt(Number index): void
Parameters:indexNumber

The index to remove at

Not finding the help you need?
Contact Support