阅读背景:

如何在布局视图中将局部视图绑定到模型?

来源:互联网 

I have a layout view for a specific section (group of views) in my MVC4 application, and this layout should contain a dynamic treeview with navigation options for views that use this layout view. E.g. My layout view says each dependent view will have a treeview at the left. Now the only way I can think of properly loading this treeview in the layout for each dependent view is have it as a mandatory section in each dependent view, and use a common base viewmodel for each dependent view that carries a viewmodel for the treeview. This seems very awkward. How else can I do this? I have a layout view for a specific section (gr




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: