New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

OnEntryAdded

The EntryAdded event occurs when an entry is added and InputType="Token" is set for RadAutoCompleteBox.

The EntryAdded 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_EntryAdded(object sender, AutoCompleteEntryEventArgs e)
{
    Label1.Text = e.Entry.Text + " was added.";
}


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

See Also

In this article