New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
OnEntryRemoved
The EntryRemoved event occurs when an entry is removed and InputType="Token" is set for RadAutoCompleteBox.
The EntryRemoved event handler receives two arguments:
-
The RadAutoCompleteBox object. This argument is of type object, but can be cast to the RadAutoCompleteBox type.
-
An AutoCompleteEntryEventArgs object. This object has an Entry property of type AutoCompleteBoxEntry.
C#
protected void RadAutoCompleteBox1_EntryRemoved(object sender, AutoCompleteEntryEventArgs e)
{
Label1.Text = e.Entry.Text + " was removed.";
}