I upgrade from 'telerik.ui.for.aspnet.core.2019.1.220.commercial' to 'telerik.ui.for.aspnet.core.2023.1.117.commercial' and now the check box doesn't display check even though the data from the database is true
@(Html.Kendo().CheckBox() .Name("MyCheckbox").Label("Yes")
I even tried @(Html.Kendo().CheckBox() .Name("MyCheckbox").Checked(true).Label("Yes"), it still won't show the checkbox as checked.
Regards
I used checkbox:
<div class="col-md-2">
<label for="MyCheckBox">Is this an Invasive Species?</label><br />
@(Html.Kendo().CheckBoxFor(m => m.Checked).Label("MyCheckBox"))
</div>
but now I am getting:
VM1552:1 Uncaught TypeError: jQuery(...).kendoCheckBox is not a function
at <anonymous>:1:49
at Object.n [as syncReady] (kendo.aspnetmvc.js:785:11)
at <anonymous>:1:7
at DOMEval (jquery.js:111:12)
at domManip (jquery.js:5762:8)
at jQuery.fn.init.append (jquery.js:5898:10)
at jQuery.fn.init.<anonymous> (jquery.js:5992:18)
at access (jquery.js:3939:8)
at jQuery.fn.init.html (jquery.js:5959:10)
at Object.<anonymous> (site.js:61:36)