如何在左侧实现树视图,在右侧实现UI [英] How to implement a treeview in left hand side and a UI in the right side

查看:72
本文介绍了如何在左侧实现树视图,在右侧实现UI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要创建一个asp.net应用程序,左侧有一个树视图,右侧每个节点有一个不同的页面,如果用户单击一个node1,它将在右侧显示UI,node2将显示另一个用户界面,任何人都可以告诉我实施它的最佳做法是什么?在此先感谢。

I need to create a asp.net application that has a treeview in left hand side, a different page for each node on the right hand side, if a user click a node1, it will show UI on the right, node2 will show another UI, can anyone tell me what is the best practice to implement it? Thanks in advance.

推荐答案

使用MasterPage为您的站点显示TreeView,右侧将是ContentSection,它根据TreeView选择加载不同的页面。请参阅 Maciej SA 中的评论。还有一件事 SA 这些(浏览器中出现的任何控件)统称为用户界面而不是你想要显示不同的内容页面或用户控件。



为您添加一些参考资料。



navigation / treeview-masterpages-csharp / [ ^ ]



http://msdn.microsoft.com/en-us/library/aa581781.aspx [ ^ ]
Use MasterPage to display TreeView for your site and the Right Side will be the ContentSection which loads the Different Pages according to the TreeView selection. See the Comments from Maciej and SA. One more thing as SA these( whatever controls that appear in the browser ) are collectively Called as UI and rather you meant to say showing different Content Pages or UserControls .

Adding some references for you to start with.

navigation/treeview-masterpages-csharp/[^]

http://msdn.microsoft.com/en-us/library/aa581781.aspx[^]


这篇关于如何在左侧实现树视图,在右侧实现UI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆