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

Server-Side Programming Overview

Properties

 

Name Type Return Type Description
Text Getter String Gets the text of the input area.
InputType Getter/Setter Telerik.Web.UI.RadAutoCompleteFilter Gets/sets the input type.
RadAutoCompleteInputType:
{
    Token,
    Text,
}
Name Type Return Type Description
Filter Getter/Setter Telerik.Web.UI.RadAutoCompleteFilter Gets/sets the filter type.
RadAutoCompleteFilter:
{
    StartsWith,
    Contains,
}
Name Type Return Type Description
AllowCustomEntry Getter/Setter Bool Determines whether custom entris will be allowed.
Attributes Getter System.Web.UI.AttrbuteCollection Gets the collection of arbitrary attributes that do not correspond to the properties of the control.
Delimiter Getter/Setter String Gets/sets a value indicating what delimiter should be used when the control displays the selected entries as a sequence of strings (when InputType is set to "Text").
DropDownItemTemplate Getter/Setter System.Web.UI.ITemplate Gets/sets the template for the items that appear in the drop-down container.
Entries Getter Telerik.Web.UI.AutoCompleteBoxEntryCollection Gets a collection of the selected entries.
ID Getter/Setter String Gets/sets the server ID.
DataTextField Getter/Setter String Gets/sets the field of the data source that provides the text content of the drop-down items.
DataValueField Getter/Setter String Gets/sets the field of the data source that provides the value content of the drop-down items.

Events

 

Name Parameters Description
EntryAdded RadAutoCompleteBox object, AutoCompleteEntryEventArgs Fires when an entry is added to the Entries collection of RadAutoCompleteBox. The event is raised only when the input type of RadAutoCompleteBox is set to "Token".
EntryRemoved RadAutoCompleteBox object, AutoCompleteEntryEventArgs Fires when an entry is removed from the Entries collection of RadAutoCompleteBox. The event is raised only when the input type of RadAutoCompleteBox is set to "Token".
TextChanged RadAutoCompleteBox object, AutoCompleteTextEventArgs Fires when the text is changed in the input area of RadAutoCompleteBox. The event is raised only when the input type of RadAutoCompleteBox is set to "Text".
DropDownTemplateNeeded RadAutoCompleteBox object, AutoCompleteDropDownItemEventArgs Fires before template is being applied to the drop-down item.
In this article