Tab
A newer version of this page is available. Switch to the current version.

AutoCompleteBoxPropertiesBase.IncrementalFilteringMode Property

Gets or sets a value that specifies the filtering mode of the editor.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(IncrementalFilteringMode.Contains)]
public virtual IncrementalFilteringMode IncrementalFilteringMode { get; set; }
<DefaultValue(IncrementalFilteringMode.Contains)>
Public Overridable Property IncrementalFilteringMode As IncrementalFilteringMode

Property Value

Type Default Description
IncrementalFilteringMode

Contains

One of the IncrementalFilteringMode enumeration values.

Remarks

The editor allows its items to be filtered in a drop down window by the text typed in the editor's input box. Use the IncrementalFilteringMode property to specify the editor's filter mode.

When callbacks are enabled (e.g., by setting the AutoCompleteBoxPropertiesBase.EnableCallbackMode property to true), the incremental filtering feature functions via callbacks to the server.

NOTE

The IncrementalFilteringMode property synchronizes its value with the editor's ASPxAutoCompleteBoxBase.IncrementalFilteringMode property.

Example

Webforms approach:

NOTE

For a full example, see the ASPxComboBox - Cascading Combo Boxes demo.


<dx:ASPxComboBox runat="server" ID="CmbCountry" DropDownStyle="DropDownList" IncrementalFilteringMode="StartsWith"
    TextField="CountryName" ValueField="CountryName" Width="100%" DataSourceID="CountriesDataSource"
    EnableSynchronization="False">
    <ClientSideEvents SelectedIndexChanged="function(s, e) { OnCountryChanged(s); }" />
</dx:ASPxComboBox>

MVC approach (Token Box):