Class
RadAutoCompleteBox

Represents the RadAutoCompleteBox class.

Definition

Namespace:Telerik.WebAii.Controls.Html

Assembly:Telerik.WebAii.Controls.Html.dll

Syntax:

cs-api-definition
public class RadAutoCompleteBox : HtmlContainerControl

Inheritance: objectControlHtmlControlHtmlContainerControlRadAutoCompleteBox

Inherited Members HtmlContainerControl.TextContentHtmlContainerControl.InnerTextHtmlControl.FindParentContainer<TContainerControl>()HtmlControl.ValidateTag(string)HtmlControl.ValidateControl()HtmlControl.ParseResponseValue<T>(string, T)HtmlControl.GetAttributeAsString(string)HtmlControl.InitializeMappings(MappingsCollection)HtmlControl.GetRectangle()HtmlControl.IsVisible()HtmlControl.GetStyleValue(string)HtmlControl.GetStyle(string)HtmlControl.GetComputedStyleValue(string)HtmlControl.GetComputedStyle(string)HtmlControl.Parent<TContainerControl>()HtmlControl.Capture()HtmlControl.Capture(string, string)HtmlControl.Capture(string)HtmlControl.InvokeEvent(ScriptEventType)HtmlControl.InvokeEvent(ScriptEventType, bool)HtmlControl.InvokeEvent(ScriptEvent)HtmlControl.InvokeEvent(ScriptEvent, bool)HtmlControl.AddEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.RemoveEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.MouseClick()HtmlControl.MouseClick(MouseClickType)HtmlControl.MouseClick(MouseClickType, int, int)HtmlControl.MouseClick(MouseClickType, Point, OffsetReference)HtmlControl.MouseClick(MouseClickType, int, int, OffsetReference)HtmlControl.MouseHover()HtmlControl.MouseHover(Point)HtmlControl.MouseHover(int, int)HtmlControl.MouseHover(int, int, OffsetReference)HtmlControl.Click()HtmlControl.Click(bool)HtmlControl.ScrollToVisible()HtmlControl.ScrollToVisible(ScrollToVisibleType)HtmlControl.ScrollToVisible(ScrollToVisibleType, Rectangle)HtmlControl.Download(bool, DownloadOption, string, int)HtmlControl.CallMethod(string)HtmlControl.CallMethod<T>(string)HtmlControl.CallMethod<T>(string, T)HtmlControl.GetValue<T>(string)HtmlControl.GetValue<T>(string, T)HtmlControl.GetValue<T>(string, bool)HtmlControl.GetValue<T>(string, bool, T)HtmlControl.SetValue<T>(string, T)HtmlControl.SetValue<T>(string, T, bool)HtmlControl.Focus()HtmlControl.DragTo(OffsetReference, Point, int, int)HtmlControl.DragTo(OffsetReference, int, int, Rectangle, OffsetReference, int, int)HtmlControl.DragTo(Point)HtmlControl.DragTo(int, int)HtmlControl.DragTo(HtmlControl)HtmlControl.DragTo(HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, Point, HtmlControl)HtmlControl.DragTo(OffsetReference, Point, HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, int, int, bool, HtmlControl, OffsetReference, int, int, bool)HtmlControl.DragToWindowLocation(OffsetReference, int, int, bool, OffsetReference, int, int, bool)HtmlControl.ToString()HtmlControl.AsjQueryControl()HtmlControl.GetElementByTagNameClientSideLocatorHtmlControl.GetElementByIdClientSideLocatorHtmlControl.FindHtmlControl.ScrollTopHtmlControl.ScrollLeftHtmlControl.WaitHtmlControl.IDHtmlControl.CssClassHtmlControl.AttributesHtmlControl.MappingsHtmlControl.StylesHtmlControl.EventsHtmlControl.TagNameHtmlControl.ChildNodesHtmlControl.IsActiveElementHtmlControl.IsEnabledControl.Refresh()Control.AssignFailed(Exception)Control.SetTelerikComponentsVersion(TelerikComponentsVersion?)Control.MatchControl(Element, FindParam)Control.GetFamilyElement(int, Element)Control.ThrowOnInvalidAssignmentControl.TelerikComponentsVersionControl.IsRefreshControl.BaseElementControl.OwnerBrowserControl.Locator

Constructors

RadAutoCompleteBox()

Initializes a new instance of the AutoCompleteBox class.

Declaration

cs-api-definition
public RadAutoCompleteBox()

RadAutoCompleteBox(Element)

Initializes a new instance of the AutoCompleteBox class.

Declaration

cs-api-definition
public RadAutoCompleteBox(Element element)

Parameters

element

Element

Properties

AllowCustomEntry

Gets whether the custom entry is allowed.

Declaration

cs-api-definition
public bool AllowCustomEntry { get; }

Property Value

bool

AllowTokenEditing

Gets whether the token editing is allowed.

Declaration

cs-api-definition
public bool AllowTokenEditing { get; }

Property Value

bool

ClientSideLocator

Get the locator FindParam.

Declaration

cs-api-definition
public override string ClientSideLocator { get; }

Property Value

string

Overrides HtmlControl.ClientSideLocator

Delimiter

Get the delimiter of the control.

Declaration

cs-api-definition
public string Delimiter { get; }

Property Value

string

DropDownItemCount

Get the drop down item count.

Declaration

cs-api-definition
public int DropDownItemCount { get; }

Property Value

int

DropDownPosition

AutoCompleteBox dropdown position.

Declaration

cs-api-definition
public AutoCompleteDropDownPosition DropDownPosition { get; }

Property Value

AutoCompleteDropDownPosition

EmptyMessage

Gets or set the empty message text of the AutoCompleteBox.

Declaration

cs-api-definition
public string EmptyMessage { get; set; }

Property Value

string

Enabled

Get whether autocompletebox is enabled.

Declaration

cs-api-definition
public bool Enabled { get; }

Property Value

bool

EntryCount

Get the entries count.

Declaration

cs-api-definition
public int EntryCount { get; }

Property Value

int

InputType

AutoCompleteBox input type.

Declaration

cs-api-definition
public AutoCompleteBoxInputType InputType { get; }

Property Value

AutoCompleteBoxInputType

LocatorExpression

Get the FindExpression.

Declaration

cs-api-definition
public override IFindExpression LocatorExpression { get; }

Property Value

IFindExpression

Overrides Control.LocatorExpression

PopupDiv

Get the popup div.

Declaration

cs-api-definition
public HtmlDiv PopupDiv { get; }

Property Value

HtmlDiv

PopupVisible

Get whether the popup is visible.

Declaration

cs-api-definition
public bool PopupVisible { get; }

Property Value

bool

SelectionMode

AutoCompleteBox selection mode.

Declaration

cs-api-definition
public AutoCompleteBoxSelectionMode SelectionMode { get; }

Property Value

AutoCompleteBoxSelectionMode

Text

Gets the text of the AutoCompleteBox.

Declaration

cs-api-definition
public string Text { get; }

Property Value

string

Methods

AssignElement(Element)

Assign the DOM element to be the AutoCompleteBox control.

Declaration

cs-api-definition
public override void AssignElement(Element e)

Parameters

e

Element

Overrides HtmlContainerControl.AssignElement(Element)

ClearEntries()

Clears all entries of the autocompletebox.

Declaration

cs-api-definition
public void ClearEntries()

ControlAssert()

Returns RadControlAssert instance initialized for this control.

Declaration

cs-api-definition
public RadControlAssert ControlAssert()

Returns

RadControlAssert

RadControlAssert instance initialized for this control.

DeleteEntry(int)

Deletes the entry by index.

Declaration

cs-api-definition
public void DeleteEntry(int index)

Parameters

index

int

DeleteLastEntry()

Deletes the last entry(whicsh is already selected).

Declaration

cs-api-definition
public void DeleteLastEntry()

SelectEntry()

Selects the last entry.

Declaration

cs-api-definition
public void SelectEntry()

SetText(string, ScrollToVisibleType)

Types the given text to the AutoCompleteBox input using default typing speed. Swows the drop down as well.

Declaration

cs-api-definition
public void SetText(string text, ScrollToVisibleType scrollToVisibleType = ScrollToVisibleType.ElementTopAtWindowTop)

Parameters

text

string

The text to set.

scrollToVisibleType

ScrollToVisibleType

Specifies how element should be put into view.

SetText(string, int, ScrollToVisibleType)

Types the given text to the AutoCompleteBox input using default typing speed. Swows the drop down as well.

Declaration

cs-api-definition
public void SetText(string text, int typeSpeed, ScrollToVisibleType scrollToVisibleType = ScrollToVisibleType.ElementTopAtWindowTop)

Parameters

text

string

The text to set.

typeSpeed

int

The typing speed (characters typing) in milliseconds.

scrollToVisibleType

ScrollToVisibleType

Specifies how element should be put into view.