New to Telerik UI for ASP.NET AJAX? Download 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:

  1. The RadAutoCompleteBox object. This argument is of type object, but can be cast to the RadAutoCompleteBox type.

  2. An AutoCompleteEntryEventArgs object. This object has an Entry property of type AutoCompleteBoxEntry.


protected void RadAutoCompleteBox1_EntryRemoved(object sender, AutoCompleteEntryEventArgs e)
{
    Label1.Text = e.Entry.Text + " was removed.";
}


Protected Sub RadAutoCompleteBox1_EntryRemoved(sender As Object, e As AutoCompleteEntryEventArgs)
    Label1.Text = e.Entry.Text + " was removed."
End Sub

See Also

In this article