Skip to main content

kendoAutoComplete

Namespace: Wisej.Web.Ext.Kendo

Assembly: Wisej.Web.Ext.Kendo (4.1.0.0)

The AutoComplete provides suggestions depending on the typed text and allows multiple value entries.

public class kendoAutoComplete : kendoBase

Constructors​

Instance member kendoAutoComplete()​

Constructs a new instance of the kendoAutoComplete class.

Example:

The following example creates an auto-complete field and assigns the list of suggestions through the Options property.

var autoComplete = new kendoAutoComplete();
autoComplete.Options.dataSource = new[] { "Austria", "Belgium", "Denmark", "Germany" };
autoComplete.Options.placeholder = "Type a country...";
autoComplete.Width = 250;
this.Controls.Add(autoComplete);

Instance member kendoAutoComplete(options)​

Constructs a new instance of the kendoAutoComplete class.

NameTypeDescription
optionsObjectInitial set of options.

Example:

The following example creates an auto-complete field that accepts multiple comma-separated values.

var autoComplete = new kendoAutoComplete(new
{
dataSource = new[] { "Austria", "Belgium", "Denmark", "Germany" },
filter = "contains",
minLength = 2,
separator = ", "
});
autoComplete.Width = 250;
this.Controls.Add(autoComplete);

Implements​