[]
        
(Showing Draft Content)

C1.Web.Mvc.AutoCompleteBase-1

AutoCompleteBase<T> Class

The base class for AutoComplete and MultiAutoComplete.

Namespace: C1.Web.Mvc
Assembly: C1.Web.Mvc.dll
Syntax
public abstract class AutoCompleteBase<T> : ComboBoxBase<T>, IHtmlString, ITemplate, IDropDown
Type Parameters
Name Description
T

Constructors

Name Description
AutoCompleteBase(HtmlHelper, string)

Creates one AutoCompleteBase<T> instance.

Properties

Name Description
BeginsWithSearch

Gets or sets a value that determines whether to search for items that begin with the given search term. The default value for this property is False, which causes the control to search for items that contain the given search terms.

CssMatch

Gets or sets the name of the CSS class used to highlight any parts of the content that match the search terms.

Delay

Gets or sets the delay, in milliseconds, between when a keystroke occurs and when the search is performed.

IsContentHtml

Gets or sets a value indicating whether the drop-down list displays items as plain text or as HTML.

IsEditable

Gets or sets a value that enables or disables editing of the text in the input element of the control (defaults to true).

IsRequired

Gets or sets a value that determines whether the control value must be set to a non-null value or whether it can be set to null (by deleting the content of the control).

ItemsSourceAction

Gets or sets the action name for data.

ItemsSourceFunction

Gets or sets a function that provides list items dynamically as the user types.

MaxItems

Gets or sets the maximum number of items to display in the drop-down list.

MinLength

Gets or sets the minimum input length to trigger autocomplete suggestions.

Name

Gets or sets the name of the control element.

SearchMemberPath

Gets or sets a string containing a comma-separated list of properties to use when searching for items.

Extension Methods