TreeView CSS友好的输出?控制适配器? ASP.NET 3.5 [英] TreeView CSS Friendly Output? Control Adapters? ASP.NET 3.5
本文介绍了TreeView CSS友好的输出?控制适配器? ASP.NET 3.5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我希望我的TreeView控件输出< ul>< li>
标记,而不是< tables>
。什么是最好的方法做到这一点。我听说过CSS控制适配器。这是最好的方法吗?
I want my TreeView control to output <ul><li>
tags instead of <tables>
. What is the best way to do this. I heard about the CSS Control Adapters. Is this still the best way? How do you go about doing it?
推荐答案
我假设你的意思是 CSS友好控制适配器?这是我仍然最好的方式,我知道。在 HTML代码段中,它不会呈现表格。
I am assuming you mean CSS Friendly Control Adapters? Which is the still the best way that I know of. In the HTML Snippets it doesn't render tables.
您的其他选择是手动构建控件,只需使用计划旧的HTML和可能的 Jquery插件来操作树。
Your other option would be to build the control by hand just using plan old HTML and possibly a Jquery Plugin to manipulate the tree.
这篇关于TreeView CSS友好的输出?控制适配器? ASP.NET 3.5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文