ClassRadAutoCompleteBox
Represents the RadAutoCompleteBox class.
Definition
Namespace:Telerik.WebAii.Controls.Html
Assembly:Telerik.WebAii.Controls.Html.dll
Syntax:
public class RadAutoCompleteBox : HtmlContainerControl
Inheritance: objectControlHtmlControlHtmlContainerControlRadAutoCompleteBox
Inherited Members
Constructors
RadAutoCompleteBox()
Initializes a new instance of the AutoCompleteBox class.
Declaration
public RadAutoCompleteBox()
RadAutoCompleteBox(Element)
Initializes a new instance of the AutoCompleteBox class.
Properties
AllowCustomEntry
Gets whether the custom entry is allowed.
AllowTokenEditing
Gets whether the token editing is allowed.
ClientSideLocator
Get the locator FindParam.
Declaration
public override string ClientSideLocator { get; }
Property Value
Overrides
Delimiter
Get the delimiter of the control.
DropDownItemCount
Get the drop down item count.
DropDownPosition
AutoCompleteBox dropdown position.
Declaration
public AutoCompleteDropDownPosition DropDownPosition { get; }
Property Value
EmptyMessage
Gets or set the empty message text of the AutoCompleteBox.
Enabled
Get whether autocompletebox is enabled.
EntryCount
Get the entries count.
InputType
AutoCompleteBox input type.
Declaration
public AutoCompleteBoxInputType InputType { get; }
Property Value
LocatorExpression
Get the FindExpression.
Declaration
public override IFindExpression LocatorExpression { get; }
Property Value
Overrides
PopupDiv
Get the popup div.
PopupVisible
Get whether the popup is visible.
SelectionMode
AutoCompleteBox selection mode.
Declaration
public AutoCompleteBoxSelectionMode SelectionMode { get; }
Property Value
Methods
AssignElement(Element)
Assign the DOM element to be the AutoCompleteBox control.
Declaration
public override void AssignElement(Element e)
Parameters
e
Overrides
ClearEntries()
Clears all entries of the autocompletebox.
Declaration
public void ClearEntries()
ControlAssert()
Returns RadControlAssert instance initialized for this control.
Declaration
public RadControlAssert ControlAssert()
Returns
RadControlAssert instance initialized for this control.
DeleteEntry(int)
Deletes the entry by index.
DeleteLastEntry()
Deletes the last entry(whicsh is already selected).
Declaration
public void DeleteLastEntry()
SetText(string, ScrollToVisibleType)
Types the given text to the AutoCompleteBox input using default typing speed. Swows the drop down as well.
Declaration
public void SetText(string text, ScrollToVisibleType scrollToVisibleType = ScrollToVisibleType.ElementTopAtWindowTop)
Parameters
text
The text to set.
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
public void SetText(string text, int typeSpeed, ScrollToVisibleType scrollToVisibleType = ScrollToVisibleType.ElementTopAtWindowTop)
Parameters
text
The text to set.
typeSpeed
The typing speed (characters typing) in milliseconds.
scrollToVisibleType
Specifies how element should be put into view.