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

Telerik.Web.UI.SearchBoxButtonCollection

Inheritance Hierarchy

Methods

add

Appends a button to the Buttons collection

Parameters

button Telerik.Web.UI.SearchBoxButton

The button to insert

Returns

None

clear

Clears the Buttons collection of RadSearchBox

Parameters

Returns

None

forEach

Iterates through the Buttons collection

Parameters

lambda Function

The function to execute on each iteration

Returns

None

get_count

Returns the number of buttons in the Buttons collection.

Parameters

Returns

Number The number of the buttons

getButton

Gets the button from the Buttons collection residing at the index specified by the parameter.

Parameters

index Number

The index of the button that should be returned

Returns

Telerik.Web.UI.SearchBoxButton Returns SearchBoxButton

indexOf

Gets the index of a button.

Parameters

button Telerik.Web.UI.SearchBoxButton

The button to get the index of

Returns

Number int

insert

Inserts a button into the Buttons collection at the position specified by the first (index) parameter

Parameters

index Number

The index to insert at

button Telerik.Web.UI.SearchBoxButton

The button to insert

Returns

None

remove

Removes a button from the Buttons collection

Parameters

button Telerik.Web.UI.SearchBoxButton

The button to remove

Returns

None

removeAt

Removes the button at the specified index.

Parameters

index Number

The index to remove at

Returns

None

toArray

Returns the collection represented as array

Parameters

Returns

Telerik.Web.UI.SearchBoxButton[]