views:

1217

answers:

1

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

+1  A: 

jQGrid will show both Trees and Nested grids (any and all with Checkboxes). They have an example of binding with a JSON source, so you would make a controller method for your data source that uses the JSONResult ActionResult type method to serialize in a JSON object your records to show in the grids.

CmdrTallen