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

SearchContext Client Object

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

NameParametersReturn TypeDescription
get_selectedItemNoneSearchContextItemReturns the currently selected item of the SearchContext.
get_itemsNoneSearchContextItemCollectionReturns the collection with all SearchContextItem.
get_elementNoneDOM elementReturns the DOM element for the SearchContext.
get_dropDownElementNoneDOM elementGets the root DOM element of the SearchContext's drop-down.
get_childListElementNoneDOM elementGets the UL DOM element of the SearchContext's drop-down.
get_textElementNoneDOM elementGets the DOM element of the SearchContext where the text of the currently selected item is shown.
get_enabledNoneStringGets a value indicating whether the SearchContext is enabled.
set_enabledBooleanNoneToggles the enabled state of the SearchContext.
Not finding the help you need?
Contact Support