Commands
RadAutoSuggestBox executes its search and clear query actions using a couple of commands.
To replace the default actions of the commands, you can implement the ICommand interface (or use the Telerik's DelegateCommand implementation) and set the ClearButtonCommand and QueryButtonCommand properties of RadAutoSuggestBox.
The following example shows how to setup two DelegateCommand objects which implement ICommand and assign the custom commands to the corresponding properties in order to replace the default search and clear behaviors.
Example 1: Setting up the view
See how to setup a runnable RadAutoSuggestBox example in the Getting Started article.