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

SearchContextItemCollection Object

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

Name Parameters Return Type Description
add SearchContextItem None Adds a SearchContextItem to the Items collection.
insert Int, SearchContextItem SearchContextItemCollection Inserts a SearchContextItem into the Items collection at the position specified by the first (index) parameter.
remove SearchContextItem None Removes an item from the Items collection.
removeAt Int None Removes the item at the specified index.
clear None None Clears the Items collection of RadSearchBox's SearchContext.
getItem Int SearchContextItem Gets the SearchContextItem from the Items collection residing at the index specified by the parameter.
indexOf SearchContextItem Int Gets the index of an item.
get_count None Int Returns the number of items in the Items collection.
In this article