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

Definition

Namespace:Telerik.Web.UI

Inheritance: Telerik.Web.UI.SearchContextItem

Methods

Gets the DOM element for the SearchContextItem

JS
get_element(): Element
Returns:

Element

The DOM element for the SearchContextItem

Returns the element of the item

JS
get_imageElement(): Element
Returns:

Element

HTML element that holds the items

Gets the value of the ImageUrl property

JS
get_imageUrl(): String
Returns:

String

Gets the SearchContextItem's index inside the SearchContextItemCollection

JS
get_index(): Number
Returns:

Number

The index of the SearchContextItem

Gets the value of the Key property

JS
get_key(): String
Returns:

String

The SearchContextItem's parent

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

Telerik.Web.UI.SearchContext

Gets the SearchContextItem

Gets the value of the Selected property

JS
get_selected(): String
Returns:

String

Gets the text of the SearchContextItem.

JS
get_text(): String
Returns:

String

Returns the text dom element of the item when imageUrl is set.

JS
get_textElement(): Element
Returns:

Element

HTML element that holds the items

Sets the item's dom element

JS
set_element(Element value): void
Parameters:valueElement

The HTML element of the item

Sets the ImageUrl property of the button

JS
set_imageUrl(String value): void
Parameters:valueString

String value for the ImageUrl property

Sets the Key property of the item.

JS
set_key(String value): void
Parameters:valueString

String value for the Key property

Sets the SearchBoxButton's parent

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

The parent SearchContext object

Toggles the selected state of the SearchContextItem.

JS
set_selected(): void

Sets the text of the SearchContextItem.

JS
set_text(String value): void
Parameters:valueString

String value for the Text property

Not finding the help you need?
Contact Support