This question is locked. New answers and comments are not allowed.
I'm trying to use the Telerik treeview control for ASP.NET MVC to set something up similar to what this guy on this sample page has:
site
The data for the treeview is coming from the database. Each node of the tree is represented by 1 row in the DB table. Top level nodes and low level nodes are all in the same table. There is a parentid field on the table which identifies the hierarchy. This means the highest node in the tree and the lowest node in the tree (could be 4, 5, or more tree levels down) are all in the same table and the parent id column is what defines the relationships between nodes. How many levels is not known at run time similar to the example that the above website shows.
I've gone through the bind to model example but it just isn't making sense. Has anyone else done something like this and mind posting some sample code?
Thanks for the help!
site
The data for the treeview is coming from the database. Each node of the tree is represented by 1 row in the DB table. Top level nodes and low level nodes are all in the same table. There is a parentid field on the table which identifies the hierarchy. This means the highest node in the tree and the lowest node in the tree (could be 4, 5, or more tree levels down) are all in the same table and the parent id column is what defines the relationships between nodes. How many levels is not known at run time similar to the example that the above website shows.
I've gone through the bind to model example but it just isn't making sense. Has anyone else done something like this and mind posting some sample code?
Thanks for the help!