OnClientDataRequesting
The OnClientDataRequesting client-side event occurs when a new text is entered and a request for items is about to be sent.
The event handler receives two parameters:
The instance of RadSearchBox firing the event.
-
An eventArgs parameter containing the following methods:
get_text() - returns the text of the searchBox.
get_showAllResults() - returns a boolean value indicating whether all results should be shown,or just a portion of them, depending on the MaxResultsCount property value.
set_cancel(boolean) - cancels the event depending on the value passed as an argument.
get_userContext() - returns the userContext object of type IDictionary that is passed after that to the OnDataSourceSelect event handler or to the Web Service method.