I need to show a treeview with checkboxes to select in MVC with C#.
I have two tables. one with categories and subcategories and the other one with products. Some categories wont have sub categories in the first table, they'll have only products.
I need to populate the Treeview with these two tables. Please suggest me to do it in MVC and also using jquery by which the page wont get refresh on selecting the parent nodes