Common Issues
This page provides solutions for common problems you may encounter while working with the Kendo UI MultiSelect widget.
DataSource
Selected Item Is Lost When Bound to Shared DataSource
Important
This issue can also be observed in Kendo UI ComboBox and Kendo UI DropDownList. 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").kendoMultiSelect({
dataSource: ds
});
$("#ms2").kendoMultiSelect({
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").kendoMultiSelect({
dataSource: new kendo.data.DataSource({ data: ds.data() });
});
$("#ms2").kendoMultiSelect({
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 MultiSelect:
- MultiSelect JavaScript API Reference
- Grouping Functionality
- Virtualization
- How to Bind Values to Template
- How to Cascade from DropDownList
- How to Create Cascading MultiSelects
- How to Create Scrollable Data Items
- How to Filter Values in Widgets Sharing the Same Data
- How to Preselect Items on Load in AngularJS
- How to Preselect Items Using MVVM Binding
- How to Reorder Selected Items
- How to Select All Values with Single Selection
- How to Select or Deselect All Items
- How to Select the First Item on TAB
- How to Use MultiSelect with Bootstrap Modal Window
- How to Wire Blur Event of the Filter Input
- Overview of the MultiSelect Widget
Other articles on troubleshooting:
- Common Issues in Kendo UI
- Kendo UI JavaScript Errors
- Kendo UI Performance Issues
- Kendo UI Content Security Policy
- Common Issues in Kendo UI Excel Export
- Common Issues in Kendo UI Charts
- Performance Issues in Kendo UI Widgets for Data Visualization
- Common Issues in Kendo UI ComboBox
- Common Issues in Kendo UI Diagram
- Common Issues in Kendo UI DropDownList
- Common Issues in Kendo UI Editor
- Common Issues in Kendo UI Scheduler
- Common Issues in Kendo UI Upload
- Common Issues Related to Styling, Appearance, and Rendering
- Common Issues in Telerik UI for ASP.NET MVC
- Validation Issues in Telerik UI for ASP.NET MVC
- Scaffolding Issues in Telerik UI for ASP.NET MVC
- Common Issues in the Grid ASP.NET MVC HtmlHelper Extension
- Excel Export with the Grid ASP.NET MVC HtmlHelper Extension
- Common Issues in the Spreadsheet ASP.NET MVC HtmlHelper Extension
- Common Issues in the Upload ASP.NET MVC HtmlHelper Extension