如何在ASP中为Treeview制作样式 [英] how to make a style for treeview in asp

查看:561
本文介绍了如何在ASP中为Treeview制作样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在asp.net中,我在母版页中有一个树状视图.现在,当我展开一个父节点并单击它的一个子节点时,我将重定向到另一个页面.现在,我想保持父节点的展开状态,并且子节点是

In asp.net I have a treeview in masterpage.Now When I expand a parent node and click a child node of it,I am redirected to another page.Now I want to keep the parent node expanded and the child node is bold or other styled.How can i do this?

推荐答案

您可以创建CSS样式.

例子
http://www.asp.net/cssadapters/TreeView.aspx [带有模板的ASP.NET AJAX TreeView控件 [ ^ ]

问候
You can create a CSS style.

Examples
http://www.asp.net/cssadapters/TreeView.aspx[^]
An ASP.NET AJAX TreeView control with templates[^]

Regards


这篇关于如何在ASP中为Treeview制作样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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