Completed
Last Updated: 08 Nov 2024 09:24 by ADMIN
Release 2024 Q4 (Nov)

Bug report

When the clearSelection method of the ListBox is used for connected ListBoxes the toolbar buttons remain active.

Reproduction of the problem

  1. Run this Dojo
  2. Select an item
  3. Click the Clear button

Current behavior

The toolbar items of the ListBox remain active

Expected/desired behavior

The toolbar items of the ListBox must be disabled automatically

Environment

  • Kendo UI version: 2023.1.117
Completed
Last Updated: 18 Feb 2022 13:45 by ADMIN
Release 2022.R1.SP.next
Created by: Aaron
Comments: 4
Category: ListBox
Type: Bug Report
1

Problem:
When using the ListBox control with drag & drop enabled, the "drag" event seems to be working correctly (ex. item is highlighted, it gets "selected" and "moves" as you move your cursor) but the "drop" event more often than not doesn't add the item to the list it was dragged to. Through testing, I've noticed that it does appear to occasionally get added to the other list successfully, but only after several failed attempts and it seems to be pretty random.

Reproducing:
I've created two examples in REPL based on demo code:

Additional Information:
In our real application, these ListBox components are bound to properties of the View's model, which results in code that essentially uses "local data" similar to the examples above. I've noticed that the "official demo" of the ListBox component's drag & drop feature (https://demos.telerik.com/aspnet-core/listbox/drag-and-drop) appears to work correctly. However, I've also noticed that this demo is using an Ajax data source, which I suspect might be what's causing the different behavior.

Completed
Last Updated: 06 Jan 2023 15:37 by ADMIN
Release R1.2023-Increment.3(18.Jan.2023)

### Bug report

The Telerik UI ListBox is not being rendered when the AutoBind() option is specified. Regardless of the value that is put inside the method - be it true/false.

### Reproduction of the problem

1. Set the DataSource option of the ListBox without specifying type such as Ajax/Custom.

2. Set the AutoBind(true) option.

3. Run the application - the page is not rendered at all.

### Expected/desired behavior

The widget should be rendered when the AutoBind is set to true/false.

### TicketID: 1524780

### Possible reason for the behavior

When the Ajax/Custom type of the data source is not specified, the type defaults to null. Hence, there is a boolean property that is checked inside the VerifySettings method of the ListBox.cs file in the source. The IsClientBinding property checks if the widget is bound to a data source, however, since the data source does not have a type, it thinks that the widget is bound to the data via the BindTo option which is incorrect. 

Having the AutoBind() property and the BindTo() property enabled, a C# error is thrown inside the VerifySettings() method. However, this error should not be thrown when a data source is specified (even without type).

### Environment

* **Kendo UI version:** 2021.2.616
* **jQuery version:** 1.12.4
* **Browser:** [all]