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

SearchContextItem Client Object

The following table lists the most important methods of the client-side SearchContextItem object:

NameParametersReturn TypeDescription
get_elementNoneDOM elementGets the DOM element of the SearchContextItem.
set_elementDOM elementNoneSets the DOM element of the SearchContextItem.
get_indexNoneIntGets the index of the SearchContextItem from the SearchContextItemCollection.
get_parentNoneSearchContextGets the parent SearchContext object.
set_parentSearchContextNoneSets the parent SearchContext object.
get_textElementNoneDOM elementGets the DOM element of the SearchContextItem, when imageUrl is set.
get_imageElementNoneDOM elementReturns the element of the SearchContextItem.
get_imageUrlNoneStringGets the value of the ImageUrl property.
set_imageUrlStringNoneSets the ImageUrl property of the button.
get_textNoneStringGets the text of the SearchContextItem.
set_textStringNoneSets the text of the SearchContextItem.
get_keyNoneStringGets the value of the Key property.
set_keyStringNoneSets the Key property of the item.
get_selectedNoneBooleanGets the value of the Selected property.
set_selectedBooleanNoneToggles the selected state of the SearchContextItem.
Not finding the help you need?
Contact Support