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

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
[RequiredScript(typeof(ChangeLog), 2)]
[RequiredScript(typeof(jQueryPlugins), 1)]
[RequiredScript(typeof(DropDown), 3)]
[RequiredScript(typeof(MaterialRipple))]
[ClientScriptResource("Telerik.Web.UI.RadAutoCompleteBox", "Telerik.Web.UI.AutoCompleteBox.RadAutoCompleteBoxScripts.js", LoadOrder = 4)]
[TelerikToolboxCategory("Data Editing")]
[EmbeddedSkin("AutoCompleteBox", typeof(RadAutoCompleteBox))]
[EmbeddedSkin("AutoCompleteBox", "Default", typeof(RadAutoCompleteBox))]
[RequiredCss("Telerik.Web.UI.Skins.Common.fonticons.css", RenderMode.Lightweight, typeof(RadAutoCompleteBox))]
[RequiredCss("Telerik.Web.UI.Skins.Common.MaterialRipple.css", RenderMode.Lightweight, typeof(RadButton))]
public class RadAutoCompleteBox : RadDataBoundControl, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl, IFeatureGroup, INamingContainer, IPostBackEventHandler, ICallbackEventHandler, IFlatBoundContainer

Inheritance: objectRadDataBoundControlRadAutoCompleteBox

Implements: ICallbackEventHandlerIControlIControlResolverIFeatureGroupIFlatBoundContainerINamingContainerIPostBackDataHandlerIPostBackEventHandlerIScriptControlISkinnableControl...

Inherited Members RadDataBoundControl.ResolveRenderMode()RadDataBoundControl.CanRenderInMode(RenderModeBrowserAdaptor, RenderMode)RadDataBoundControl.PreferredRenderMode(RenderModeBrowserAdaptor)RadDataBoundControl.GetSkinSuffix()RadDataBoundControl.ControlPreRender()RadDataBoundControl.RenderSmartPasteDescriptionAttribute()RadDataBoundControl.ConfigureCombinedScriptFile()RadDataBoundControl.ConfigureCombinedBaseSkinFile()RadDataBoundControl.RegisterScriptControl()RadDataBoundControl.RegisterCssReferences()RadDataBoundControl.RegisterScriptDescriptors()RadDataBoundControl.LoadClientState(Dictionary<string, object>)RadDataBoundControl.SaveClientState()RadDataBoundControl.RenderClientStateField(HtmlTextWriter)RadDataBoundControl.RenderBeginTag(HtmlTextWriter)RadDataBoundControl.RenderEndTag(HtmlTextWriter)RadDataBoundControl.Render(HtmlTextWriter)RadDataBoundControl.RenderScriptsNoScriptManager(HtmlTextWriter)RadDataBoundControl.RenderDescriptorsNoScriptManager(HtmlTextWriter)RadDataBoundControl.ApplyConditionalRendering(HtmlTextWriter)RadDataBoundControl.RenderClassic(HtmlTextWriter)RadDataBoundControl.RenderLite(HtmlTextWriter)RadDataBoundControl.RenderNative(HtmlTextWriter)RadDataBoundControl.InitializeRenderMode()RadDataBoundControl.OnInit(EventArgs)RadDataBoundControl.DescribeRenderingMode(IScriptDescriptor)RadDataBoundControl.DescribeProperty<T>(IScriptDescriptor, string, T, T)RadDataBoundControl.DescribeEvent(IScriptDescriptor, string, string)RadDataBoundControl.GetEmbeddedSkinNames()RadDataBoundControl.CreateControlRenderer()RadDataBoundControl.GetScriptDescriptors()RadDataBoundControl.GetScriptReferences()RadDataBoundControl.GetViewScriptReference()RadDataBoundControl.RaisePostDataChangedEvent()RadDataBoundControl.GetViewStateValue<T>(string, T)RadDataBoundControl.FeatureGroupIDRadDataBoundControl.RegisterWithScriptManagerRadDataBoundControl.EnableRippleEffectRadDataBoundControl.EnableEmbeddedScriptsRadDataBoundControl.EnableEmbeddedSkinsRadDataBoundControl.EnableEmbeddedBaseStylesheetRadDataBoundControl.ODataDataSourceIDRadDataBoundControl.ClientDataSourceIDRadDataBoundControl.DataModelIDRadDataBoundControl.RuntimeSkinRadDataBoundControl.EnableAjaxSkinRenderingRadDataBoundControl.ClientStateFieldIDRadDataBoundControl.RenderModeRadDataBoundControl.ResolvedRenderModeRadDataBoundControl.SupportsAdaptiveRenderingRadDataBoundControl.SupportsNativeRenderingRadDataBoundControl.SupportsLightweightRenderingRadDataBoundControl.DefaultCssClassRadDataBoundControl.IsRenderModeSetRadDataBoundControl.IsBoundUsingODataRadDataBoundControl.IsBoundUsingClientDataSourceRadDataBoundControl.RenderingCompatibilityRadDataBoundControl.ClientIDModeRadDataBoundControl.ScriptManagerRadDataBoundControl.RadScriptManagerRadDataBoundControl.RadStyleSheetManagerRadDataBoundControl.RendererRadDataBoundControl.AccessKeyRadDataBoundControl.BackColorRadDataBoundControl.BorderColorRadDataBoundControl.BorderStyleRadDataBoundControl.BorderWidthRadDataBoundControl.CssClassRadDataBoundControl.EnabledRadDataBoundControl.EnableThemingRadDataBoundControl.ForeColorRadDataBoundControl.FontRadDataBoundControl.SkinIDRadDataBoundControl.VisibleRadDataBoundControl.WidthRadDataBoundControl.TabIndexRadDataBoundControl.ToolTipRadDataBoundControl.DataMemberRadDataBoundControl.DataSourceRadDataBoundControl.DataSourceIDRadDataBoundControl.EnableViewState...

Constructors

C#
public RadAutoCompleteBox()

Properties

C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("allowCustomEntry")]
public bool AllowCustomEntry { get; set; }
C#
public WaiAriaSettings AriaSettings { get; }
C#
[Bindable(false)]
public bool AutoPostBack { get; set; }
C#
protected AutoCompleteBoxEntryCollection Children { get; }
C#
[Browsable(false)]
public string ClientDropDownItemTemplate { get; set; }
C#
public AnimationSettings CollapseAnimation { get; }
C#
public string ControlId { get; }
C#
protected override string CssClassFormatString { get; }

Overrides: RadDataBoundControl.CssClassFormatString

C#
public CultureInfo Culture { get; set; }
C#
public virtual string DataTextField { get; set; }

Implements: IFlatBoundContainer.DataTextField

C#
public virtual string DataTextFormatString { get; set; }
C#
public virtual string DataValueField { get; set; }

Implements: IFlatBoundContainer.DataValueField

C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("delimiter")]
public string Delimiter { get; set; }
C#
[ClientControlProperty]
public Unit DropDownHeight { get; set; }
C#
protected List<DropDownItem> DropDownItems { get; set; }
C#
[Browsable(false)]
[Bindable(false)]
public virtual ITemplate DropDownItemTemplate { get; set; }
C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("dropDownPosition")]
public RadAutoCompleteDropDownPosition DropDownPosition { get; set; }
C#
[ClientControlProperty]
public Unit DropDownWidth { get; set; }
C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("emptyMessage")]
public string EmptyMessage { get; set; }
C#
[ClientControlProperty]
[ClientPropertyName("enableAriaSupport")]
public bool EnableAriaSupport { get; set; }
C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("enableClientFiltering")]
public bool EnableClientFiltering { get; set; }
C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("_enableDirectionDetection")]
public bool EnableDirectionDetection { get; set; }
C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("_enableScreenBoundaryDetection")]
public bool EnableScreenBoundaryDetection { get; set; }
C#
public AutoCompleteBoxEntryCollection Entries { get; }
C#
public AnimationSettings ExpandAnimation { get; }
C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("filter")]
public RadAutoCompleteFilter Filter { get; set; }

Height

Unit

C#
public override Unit Height { get; }

Overrides: RadDataBoundControl.Height

C#
public virtual bool HighlightFirstMatch { get; set; }
C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("inputType")]
public RadAutoCompleteInputType InputType { get; set; }
C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("isCaseSensitive")]
public bool IsCaseSensitive { get; set; }
C#
public string Label { get; set; }
C#
public string LabelCssClass { get; set; }
C#
public Unit LabelWidth { get; set; }
C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public AutoCompleteBoxLocalization Localization { get; }
C#
public string LocalizationPath { get; set; }
C#
[ClientControlProperty]
[ClientPropertyName("maxResultCount")]
public virtual int MaxResultCount { get; set; }
C#
[ClientControlProperty]
[ClientPropertyName("minFilterLength")]
public virtual int MinFilterLength { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("dropDownClosed")]
public string OnClientDropDownClosed { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("dropDownClosing")]
public string OnClientDropDownClosing { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("dropDownItemDataBound")]
public string OnClientDropDownItemDataBound { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("dropDownOpened")]
public string OnClientDropDownOpened { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("dropDownOpening")]
public string OnClientDropDownOpening { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("entryAdded")]
public string OnClientEntryAdded { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("entryAdding")]
public string OnClientEntryAdding { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("entryRemoved")]
public string OnClientEntryRemoved { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("entryRemoving")]
public string OnClientEntryRemoving { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("load")]
public string OnClientLoad { get; set; }
C#
[Bindable(false)]
[ClientControlEvent]
[ClientPropertyName("requested")]
public string OnClientRequested { get; set; }
C#
[Bindable(false)]
[ClientControlEvent]
[ClientPropertyName("requestFailed")]
public string OnClientRequestFailed { get; set; }
C#
[Bindable(false)]
[ClientControlEvent]
[ClientPropertyName("requesting")]
public string OnClientRequesting { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("textChanged")]
public string OnClientTextChanged { get; set; }
C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("_requestDelay")]
public int RequestDelay { get; set; }

SelectArguments

DataSourceSelectArguments

C#
protected DataSourceSelectArguments SelectArguments { get; }
C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("showLoadingIcon")]
public bool ShowLoadingIcon { get; set; }
C#
[Bindable(true)]
[ClientControlProperty]
[ClientPropertyName("_singleLineEntries")]
public RadAutoCompleteSingleLineEntries SingleLineEntries { get; set; }
C#
[TypeConverter("Telerik.Web.Design.SkinTypeConverter, Telerik.Web.Design, Version=2026.3.812.462, Culture=neutral, PublicKeyToken=121fae78165ba3d4")]
public override string Skin { get; set; }

Overrides: RadDataBoundControl.Skin

C#
protected override bool SupportsRenderingMode { get; }

Overrides: RadDataBoundControl.SupportsRenderingMode

TagKey

HtmlTextWriterTag

C#
protected override HtmlTextWriterTag TagKey { get; }
C#
public string Text { get; }
C#
public AutoCompleteBoxTextSettings TextSettings { get; }
C#
public AutoCompleteBoxTokensSettings TokensSettings { get; }
C#
[ClientControlProperty]
[ClientPropertyName("_uniqueId")]
public override string UniqueID { get; }
C#
public WebServiceSettings WebServiceSettings { get; }
C#
[Bindable(false)]
public int ZIndex { get; set; }

Methods

C#
protected override void AddAttributesToRender(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter

Overrides: RadDataBoundControl.AddAttributesToRender(HtmlTextWriter)

C#
protected AutoCompleteBoxEntryCollection CreateChildItemCollection()
Returns:

AutoCompleteBoxEntryCollection

C#
protected override DataSourceSelectArguments CreateDataSourceSelectArguments()
Returns:

DataSourceSelectArguments

C#
protected override void DescribeClientEvents(IScriptDescriptor descriptor)
Parameters:descriptorIScriptDescriptor

Overrides: RadDataBoundControl.DescribeClientEvents(IScriptDescriptor)

C#
protected override void DescribeClientProperties(IScriptDescriptor descriptor)
Parameters:descriptorIScriptDescriptor

Overrides: RadDataBoundControl.DescribeClientProperties(IScriptDescriptor)

C#
protected override void DescribeComponent(IScriptDescriptor descriptor)
Parameters:descriptorIScriptDescriptor

Overrides: RadDataBoundControl.DescribeComponent(IScriptDescriptor)

C#
public override void Focus()
C#
protected virtual string GetPostbackEventReference()
Returns:

string

C#
protected void LoadDropDownItems(RadAutoCompleteContext context)
Parameters:contextRadAutoCompleteContext
C#
protected override bool LoadPostData(string postDataKey, NameValueCollection postCollection)
Parameters:postDataKeystringpostCollectionNameValueCollectionReturns:

bool

Overrides: RadDataBoundControl.LoadPostData(string, NameValueCollection)

C#
protected override void LoadViewState(object savedState)
Parameters:savedStateobject
C#
protected bool OnDataSourceSelect(AutoCompleteBoxDataSourceSelectEventArgs e)
Parameters:eAutoCompleteBoxDataSourceSelectEventArgsReturns:

bool

C#
protected void OnDropDownTemplateNeeded(AutoCompleteDropDownItemEventArgs e)
Parameters:eAutoCompleteDropDownItemEventArgs
C#
protected virtual void OnEntryAdded(AutoCompleteEntryEventArgs e)
Parameters:eAutoCompleteEntryEventArgs
C#
protected virtual void OnEntryRemoved(AutoCompleteEntryEventArgs e)
Parameters:eAutoCompleteEntryEventArgs
C#
protected override void OnPreRender(EventArgs e)
Parameters:eEventArgs

Overrides: RadDataBoundControl.OnPreRender(EventArgs)

C#
protected virtual void OnTextChanged(AutoCompleteTextEventArgs e)
Parameters:eAutoCompleteTextEventArgs
C#
protected override void PerformDataBinding(IEnumerable data)
Parameters:dataIEnumerable
C#
protected void RaiseDropDownTemplateNeeded(object item)
Parameters:itemobject
C#
public void RaisePostBackEvent(string eventArgument)
Parameters:eventArgumentstring
C#
protected override void RenderContents(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter

Overrides: RadDataBoundControl.RenderContents(HtmlTextWriter)

C#
protected override object SaveViewState()
Returns:

object

C#
protected override void TrackViewState()

Events

C#
public event AutoCompleteBoxDataSourceSelectEventHandler DataSourceSelect
C#
public event AutoCompleteDropDownItemEventHandler DropDownTemplateNeeded
C#
public event AutoCompleteEntryEventHandler EntryAdded
C#
public event AutoCompleteEntryEventHandler EntryRemoved
C#
public event AutoCompleteTextEventHandler TextChanged
In this article
DefinitionConstructorsRadAutoCompleteBox()PropertiesAllowCustomEntryAriaSettingsAutoPostBackChildrenClientDropDownItemTemplateCollapseAnimationControlIdCssClassFormatStringCultureDataTextFieldDataTextFormatStringDataValueFieldDelimiterDropDownHeightDropDownItemsDropDownItemTemplateDropDownPositionDropDownWidthEmptyMessageEnableAriaSupportEnableClientFilteringEnableDirectionDetectionEnableScreenBoundaryDetectionEntriesExpandAnimationFilterHeightHighlightFirstMatchInputTypeIsCaseSensitiveLabelLabelCssClassLabelWidthLocalizationLocalizationPathMaxResultCountMinFilterLengthOnClientDropDownClosedOnClientDropDownClosingOnClientDropDownItemDataBoundOnClientDropDownOpenedOnClientDropDownOpeningOnClientEntryAddedOnClientEntryAddingOnClientEntryRemovedOnClientEntryRemovingOnClientLoadOnClientRequestedOnClientRequestFailedOnClientRequestingOnClientTextChangedRequestDelaySelectArgumentsShowLoadingIconSingleLineEntriesSkinSupportsRenderingModeTagKeyTextTextSettingsTokensSettingsUniqueIDWebServiceSettingsZIndexMethodsAddAttributesToRender(HtmlTextWriter)CreateChildItemCollection()CreateDataSourceSelectArguments()DescribeClientEvents(IScriptDescriptor)DescribeClientProperties(IScriptDescriptor)DescribeComponent(IScriptDescriptor)Focus()GetPostbackEventReference()LoadDropDownItems(RadAutoCompleteContext)LoadPostData(string, NameValueCollection)LoadViewState(object)OnDataSourceSelect(AutoCompleteBoxDataSourceSelectEventArgs)OnDropDownTemplateNeeded(AutoCompleteDropDownItemEventArgs)OnEntryAdded(AutoCompleteEntryEventArgs)OnEntryRemoved(AutoCompleteEntryEventArgs)OnPreRender(EventArgs)OnTextChanged(AutoCompleteTextEventArgs)PerformDataBinding(IEnumerable)RaiseDropDownTemplateNeeded(object)RaisePostBackEvent(string)RenderContents(HtmlTextWriter)SaveViewState()TrackViewState()EventsDataSourceSelectDropDownTemplateNeededEntryAddedEntryRemovedTextChanged
Not finding the help you need?
Contact Support