I have a Business Object just like:
private class Employee
{
public int EmployeeID { get;set;}
public int ManagerID { get;set;}
public string Title {get;set;}
public bool IsChecked { get; set; } = false;
}
binding like this:
List<Employee> employees = new List<Employee> {.......};
radTreeView1.DataSource = employees;
radTreeView1.DisplayMember = "Title";
radTreeView1.ParentMember = "ManagerID";
radTreeView1.ChildMember = "EmployeeID";
radTreeView1.CheckedMember = "IsChecked";
when I toggle the tree node , the application throw an expection.
So,
what is the correct way to binding check-boxes on tristatemode ?