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

Definition

Namespace:Telerik.Web.UI

Inheritance: Telerik.Web.UI.SearchBoxButtonCollection

Methods

Appends a button to the Buttons collection

JS
add(Telerik.Web.UI.SearchBoxButton button): void
Parameters:buttonTelerik.Web.UI.SearchBoxButton

The button to insert

Clears the Buttons collection of RadSearchBox

JS
clear(): void

Iterates through the Buttons collection

JS
forEach(Function lambda): void
Parameters:lambdaFunction

The function to execute on each iteration

Returns the number of buttons in the Buttons collection.

JS
get_count(): Number
Returns:

Number

The number of the buttons

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

JS
getButton(Number index): Telerik.Web.UI.SearchBoxButton
Parameters:indexNumber

The index of the button that should be returned

Returns:

Telerik.Web.UI.SearchBoxButton

Returns SearchBoxButton

Gets the index of a button.

JS
indexOf(Telerik.Web.UI.SearchBoxButton button): Number
Parameters:buttonTelerik.Web.UI.SearchBoxButton

The button to get the index of

Returns:

Number

int

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

JS
insert(Number index, Telerik.Web.UI.SearchBoxButton button): void
Parameters:indexNumber

The index to insert at

buttonTelerik.Web.UI.SearchBoxButton

The button to insert

Removes a button from the Buttons collection

JS
remove(Telerik.Web.UI.SearchBoxButton button): void
Parameters:buttonTelerik.Web.UI.SearchBoxButton

The button to remove

Removes the button 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.SearchBoxButton[]
Returns:

Telerik.Web.UI.SearchBoxButton[]

Not finding the help you need?
Contact Support