Edit this page

Common Issues

This page provides solutions for common issues you may encounter while working with the Kendo UI ComboBox widget.

DataSource

Selected Item Is Lost When Bound to Shared DataSource

Important

This issue can also be observed in Kendo UI DropDownList and Kendo UI MultiSelect. The solution demonstrated in the examples below is fully applicable to the case of them both as well.

The selected item of the widget is directly related to the data source view. If it does not contain the selected item, then the widget will remove its current value. Such behavior is expected.

Solution

Use separate data sources.

The example below demonstrates a sample issue.

Example
var ds = new kendo.data.DataSource({ data: ["foo", "bar"] });

$("#ms1").kendoComboBox({
    dataSource: ds
});

$("#ms2").kendoComboBox({
    dataSource: ds
});

The example below demonstrates the solution to the above issue.

Example
var ds = new kendo.data.DataSource({ data: ["foo", "bar"] });
ds.read();

$("#ms1").kendoComboBox({
    dataSource: new kendo.data.DataSource({ data: ds.data() });
});

$("#ms2").kendoComboBox({
    dataSource: new kendo.data.DataSource({ data: ds.data() });
});

Repetitive Requests Are Performed while Filtering in ASP.NET

For more information on handling repetitive requests performed while filtering in ASP.NET, refer to this troubleshooting topic.

See Also

Other articles on the Kendo UI ComboBox:

Other articles on troubleshooting:

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy