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

Definition

Namespace:Telerik.Web.UI.ControlItemCollection<TClass extends Telerik.Web.UI

Inheritance: Telerik.Web.UI.ControlItemCollection

Methods

Adds ControlItem to the ControlItemCollection.

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

The ControlItem to be added to the collection.

Clears the Items collection of ControlItemContainer.

JS
clear(): void

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 item from the Items collection residing at the index specified by the parameter.

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

The index of the item that should be returned.

Returns:

Telerik.Web.UI.ControlItem

Returns ControlItem.

Gets the index of an item.

JS
indexOf(Telerik.Web.UI.ControlItem item): Number
Parameters:itemTelerik.Web.UI.ControlItem

The item to get the index of.

Returns:

Number

int

Inserts an item into the Items collection at the position;specified by the first (index) parameter.

JS
insert(Number index, Telerik.Web.UI.ControlItem item): void
Parameters:indexNumber

The index to insert at.

itemTelerik.Web.UI.ControlItem

The item to insert.

Removes an item from the Items collection.

JS
remove(Telerik.Web.UI.ControlItem item): void
Parameters:itemTelerik.Web.UI.ControlItem

The item to remove.

Removes the item at the specified index.

JS
removeAt(Number index): void
Parameters:indexNumber

The index to remove at.

Returns the collection represented as array.

JS
toArray(): Telerik.Web.UI.ControlItem[]
Returns:

Telerik.Web.UI.ControlItem[]

Not finding the help you need?
Contact Support