I have an asp.net core razor that contains a TreeView control, populated from a List<TreeViewItemModel> .
<form id="EditEmployees">
<div>
Html.Kendo().TreeView()
.Name("ActiveEmployees")
.TemplateId("treeview")
.BindTo((IEnumerable<TreeViewItemModel>)ViewBag.employeeList)
.Checkboxes(c => c.CheckChildren(true))
.DragAndDrop(false)
)
</div>
<br />
<div class="form-group form-inline row pull-right">
<div class="col-sm-10 ">
<button value="Save" style="margin:0 5px;" class="btn btn-navy">Save</button>
</div>
</div>
</form>
My issue:
When I submit the form back to the POST Action in the Controller I would like pass the checked items.
For some reason i can't see the items