OnTextChanged
The TextChanged event occurs when the following steps are followed:
The InputType="Text" is set for the RadAutoCompleteBox;
The text in the input field has been changed (either one of the previously available entries has been removed or new text has been typed in);
An item from the results drop-down list has been selected (necessary only when the AllowCustomEntry of the RadAutoCompleteBox is not set or it is set to "false");
The focus has been removed from the control's input element.
The TextChanged event handler receives two arguments:
The RadAutoCompleteBox object. This argument is of type object, but can be cast to the RadAutoCompleteBox type.
An AutoCompleteTextEventArgs object. This object has a Text property of type string.
protected void RadAutoCompleteBox1_TextChanged(object sender, AutoCompleteTextEventArgs e)
{
Label1.Text = "Text changed to: " + e.Text;
}
Protected Sub RadAutoCompleteBox1_TextChanged(sender As Object, e As AutoCompleteTextEventArgs)
Label1.Text = "Text changed to: " + e.Text
End Sub