Definition
Namespace:Telerik.Web.UI
Inheritance: Telerik.Web.UI.RadWebControlTelerik.Web.UI.RadSearchBox
Events
Adds a buttonCommand event handler for the radsearchbox
add_buttonCommand
The event handler function to attach
Adds a dataRequesting event handler for the radsearchbox
add_dataRequesting
The event handler function to attach
Adds a load event handler for the radsearchbox
add_load
The event handler function to attach
Adds a search event handler for the radsearchbox
add_search
The event handler function to attach
Removes a buttonCommand event handler from the radsearchbox
remove_buttonCommand
The event handler function to remove
Removes a dataRequesting event handler from the radsearchbox
remove_dataRequesting
The event handler function to remove
Removes a load event handler from the radsearchbox
remove_load
The event handler function to remove
Removes a search event handler from the radsearchbox
remove_search
The event handler function to remove
Methods
Clears the search results and closes the drop-down.
clear(): void
Writes the changes to the searchBox that were made since a previous call to trackChanges, so that they are preserved over post-backs.
commitChanges(): void
Gets a collection with all buttons
get_buttons(): Telerik.Web.UI.SearchBoxButtonCollection
Telerik.Web.UI.SearchBoxButtonCollection
Gets the UL DOM element of the RadSearchBox's drop-down
get_childListElement(): Element
Element
The UL DOM element of the RadSearchBox
Returns the value of the RadSearchBox's ClientTemplate property.
get_clientTemplate(): String
String
The value of the RadSearchBox
Gets the root DOM element of the RadSearchBox's drop-down.
get_dropDownElement(): Element
Element
The root DOM element of the RadSearchBox
Returns the value of the RadSearchBox's EmptyMessage property.
get_emptyMessage(): String
String
The value of the RadSearchBox
Gets a value indicating whether the AutoComplete functionality of the SearchBox is enabled
get_enableAutoComplete(): Boolean
Boolean
Value indicating whether the AutoComplete functionality of the SearchBox is enabled
Gets the value of the Enabled property
get_enabled(): String
String
Gets the Filter criteria of RadSearchBox.
get_filter(): Telerik.Web.UI.SearchBoxFilter
Telerik.Web.UI.SearchBoxFilter
Gets the input DOM element of the RadSearchBox.
get_inputElement(): Element
Element
The input DOM element of the RadSearchBox.
Returns the time in milliseconds before a request is initiated by the control after the user enters a keystroke.
get_requestDelay(): Number
Number
The time in milliseconds before a request is initiated by the control after the user enters a keystroke.
Gets the SearchContext's object
get_searchContext(): Telerik.Web.UI.SearchContext
Telerik.Web.UI.SearchContext
Gets the text in the input field.
get_text(): String
String
The text in the input field.
If AutoComplete is enabled,the search string exists and it is longer than the min filter length set, a search operation is performed. The second parameter defines whether all results should be shown in the drop-down.
query(): void
Refreshes the RadSearchBox UI
repaint(): void
Saves the client state to the client state hidden field
saveClientState(): void
Sets the value of the RadSearchBox's ClientTemplate property.
set_clientTemplate(String value): void
value
Sets the value of the RadSearchBox's EmptyMessage property.
set_emptyMessage(String value): void
value
Sets whether the AutoComplete functionality of the SearchBox is enabled
set_enableAutoComplete(Boolean value): void
Indicates whether the AutoComplete functionality of the SearchBox is enabled.
Toggles the enabled state of the RadSearchBox.
set_enabled(): void
Sets the Filter criteria of RadSearchBox.
set_filter(Telerik.Web.UI.SearchBoxFilter value): void
The Filter criteria.
Sets the time in milliseconds before a request is initiated by the control after the user enters a keystroke. Useful when requests overlap each other due to slower networks or when users with varying typing speeds encounter issues with the returned results for old searches.
set_requestDelay(Number value): void
The time in milliseconds before a request is initiated by the control after the user enters a keystroke.