2011年3月22日

一条asp.net mvc导航条以及高亮实现思路

摘要: 1,导航区域通过母版页或者用户控件代理。 这部分通过读取后台提供的目录信息,动态生成链接, 目录信息包括controller,action,className以及其他属性。 大致的一个类为: public class NavigationEntity { public string ControllerName { get; set; } public string ActionName { get; set; } public string Name { get; set; } public string ClassName { get; set; } } view的代码为: <ul 阅读全文

posted @ 2011-03-22 17:21 arg 阅读(1761) 评论(1) 推荐(1) 编辑

导航