Edit this page

Telerik.Web.UI.SearchContextItem

Inheritance Hierarchy

Methods

get_element

Gets the DOM element for the SearchContextItem

Parameters

Returns

Element The DOM element for the SearchContextItem

get_imageElement

Returns the element of the item

Parameters

Returns

Element HTML element that holds the items

get_imageUrl

Gets the value of the ImageUrl property

Parameters

Returns

String

get_index

Gets the SearchContextItem's index inside the SearchContextItemCollection

Parameters

Returns

Number The index of the SearchContextItem

get_key

Gets the value of the Key property

Parameters

Returns

String

get_parent

The SearchContextItem's parent

Parameters

Returns

Telerik.Web.UI.SearchContext Gets the SearchContextItem

get_selected

Gets the value of the Selected property

Parameters

Returns

String

get_text

Gets the text of the SearchContextItem.

Parameters

Returns

String

get_textElement

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

Parameters

Returns

Element HTML element that holds the items

set_element

Sets the item's dom element

Parameters

value Element

The HTML element of the item

Returns

None

set_imageUrl

Sets the ImageUrl property of the button

Parameters

value String

String value for the ImageUrl property

Returns

None

set_key

Sets the Key property of the item.

Parameters

value String

String value for the Key property

Returns

None

set_parent

Sets the SearchBoxButton's parent

Parameters

value Telerik.Web.UI.SearchContext

The parent SearchContext object

Returns

None

set_selected

Toggles the selected state of the SearchContextItem.

Parameters

Returns

None

set_text

Sets the text of the SearchContextItem.

Parameters

value String

String value for the Text property

Returns

None

Is this article helpful? No Yes
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy