The Checkbox is not working correctly when it is inside a Toolbar.
The issue is a regression starting with Kendo - 2022.3.913
Open the following dojo example:
https://dojo.telerik.com/eLuhaxuV/4
Click on the Checkbox.
The checkbox value should change when it is clicked.
@(Html.Kendo().CheckBoxFor(m => m.IsAvailable).Label(string.Empty))
[Display(Name = "test")]
public bool IsAvailable { get; set; }
Passing string.Empty or "" to the Label option has no effect and a label with text "test" is displayed.
The text of the DisplayName annotation should not be rendered as label, when an empty string is passed as a parameter to the Label option.
When CheckBox is initialized by using Html helper in Telerik UI MVC app, the.HtmlAttributes() configuration applies the attributes to the hidden input field instead of the Checkbox.
Sample Checkbox configuration :
@Html.Kendo().CheckBox().Name("mybox").HtmlAttributes(new { onclick = "MyHandler()" });
The attached attributes are applied to the hidden input field, not to the checkbox itself.
The attached attributes are applied to the hidden input field, not to the checkbox itself.
The attached attributes are applied to the checkbox.