The checkbox works fine until it is replaced through an Ajax call which returns a partial view.
Afterwards the click event is still fired but the checkbox does not show as checked.
If I remove the classes "k-checkbox" and "k-checkbox-label" from the input and label it works just fine.
html-partial view
<input id="@Model[i].DefinitionName" asp-for="@Model[i].IsRequired" class="k-checkbox" type="checkbox" onclick="ToggleRelatedGLSegmentComboBox()" /> <label for="@Model[i].DefinitionName" class="k-checkbox-label" style="width:15em;">@Model[i].BusinessName</label>c#
return PartialView("_PartialViewName", model);js
$.ajax( { success: function (html) { glPartialDiv.html(html); }, });