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

SearchContextItemCollection Object

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

NameParametersReturn TypeDescription
addSearchContextItemNoneAdds a SearchContextItem to the Items collection.
insertInt, SearchContextItemSearchContextItemCollectionInserts a SearchContextItem into the Items collection at the position specified by the first (index) parameter.
removeSearchContextItemNoneRemoves an item from the Items collection.
removeAtIntNoneRemoves the item at the specified index.
clearNoneNoneClears the Items collection of RadSearchBox's SearchContext.
getItemIntSearchContextItemGets the SearchContextItem from the Items collection residing at the index specified by the parameter.
indexOfSearchContextItemIntGets the index of an item.
get_countNoneIntReturns the number of items in the Items collection.
Not finding the help you need?
Contact Support