I want a simple, expandable Treeview left nav menu for an ASP.Net MVC site
OK, I've bound an asp:Treeview control to a sitemap datasource, but I can't figure out any of the options ... All I want it to do is:
- Load "closed" - that is with all nodes collapsed
- close all other nodes when a new one is opened
- Stay open the way it was on the previous page
- Give me the option of changi开发者_开发知识库ng the open/closed/empty images
Is that too much to ask? Shouldn't the basic .NET control do that so I don't have to go find a 3rd-party one? Am I just not getting it? Can I configure it to do those things?
As per my comment, if this is a MVC site, then it looks like a jQuery based menu is the solution.
精彩评论