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

Definition

Namespace:Telerik.Web.UI

Inheritance: Telerik.Web.UI.SearchBoxButton

Methods

Gets the value of the CommandArgument property

JS
get_commandArgument(): String
Returns:

String

Gets the value of the CommandName property

JS
get_commandName(): String
Returns:

String

Gets the value of the CssClass property

JS
get_cssClass(): String
Returns:

String

Gets he DOM element for the SearchBoxButton

JS
get_element(): Element
Returns:

Element

The DOM element for the SearchBoxButton

Returns the element of the button

JS
get_imageElement(): Element
Returns:

Element

HTML element that holds the button

Gets the value of the ImageUrl property

JS
get_imageUrl(): String
Returns:

String

Gets the SearchBoxButton's index inside the SearchBoxButtonCollection

JS
get_index(): Number
Returns:

Number

The index of the SearchBoxButton

The SearchBoxButton's parent

JS
get_parent(): Telerik.Web.UI.RadSearchBox
Returns:

Telerik.Web.UI.RadSearchBox

Gets the SearchBoxButton

Gets the position of the button relative to the parent RadSearchBox's input field.

JS
get_position(): Telerik.Web.UI.SearchBoxButtonPosition
Returns:

Telerik.Web.UI.SearchBoxButtonPosition

Sets the CommandArgument property of the button.

JS
set_commandArgument(String value): void
Parameters:valueString

String value for the CommandArgument property

Sets the CommandName property of the button.

JS
set_commandName(String value): void
Parameters:valueString

String value for the CommandName property

Sets the CssClass property of the button.

JS
set_cssClass(String value): void
Parameters:valueString

String value for the CssClass property

Sets the button's dom element

JS
set_element(Element value): void
Parameters:valueElement

The HTML element of the button

Sets the ImageUrl property of the button

JS
set_imageUrl(String value): void
Parameters:valueString

String value for the ImageUrl property

Sets the SearchBoxButton's parent

JS
set_parent(Telerik.Web.UI.RadSearchBox value): void
Parameters:valueTelerik.Web.UI.RadSearchBox

The parent SearchBox object

Sets the position of the button relative to the parent RadSearchBox's input field.

JS
set_position(Telerik.Web.UI.SearchBoxButtonPosition value): void
Parameters:valueTelerik.Web.UI.SearchBoxButtonPosition

The Position.

Not finding the help you need?
Contact Support