10
I need to display a Treeview in my MVC3 application. There will be a self referencing hierarchical table (Folders) and another table linked to it (Documents.) (So Folders can have N-subFolders and any folder/sub folder can have many documents.)
I have looked into using third party vendors such as Telerik, DJME and MVC Controls Toolkit. While all nice packages, I'm uneasy about the licences, and since i'm new to MVC (and programming in general,) I find their documentation lacking to get the right display working.
I've also looked at the heavily referenced blogs on TreeViews:
TreeViewHelper and the Recursive Partial View
In addition to the other less referenced articles (The top 3 are also very informative):
- http://tpeczek.com/2010/01/asynchronous-treeview-in-aspnet-mvc.html
- http://mikehadlow.blogspot.com/2008/10/rendering-tree-view-using-mvc-framework.html
- http://www.tek-tips.com/viewthread.cfm?qid=1637392&page=4
- http://weblogs.asp.net/jigardesai/archive/2008/02/04/display-hierarchical-data-in-asp-net-mvc-framework.aspx
- http://www.jigar.net/articles/