【问题标题】:Has anyone got a solution for the problem <asp:treeview /> != <ul><li></li></ul>有没有人解决这个问题 <asp:treeview /> != <ul><li></li></ul>
【发布时间】:2008-12-19 14:32:01
【问题描述】:

我正在使用asp:TreeView,我更愿意使用&lt;ul&gt;&lt;li&gt; 将其输出到标准嵌套&lt;HTML&gt; 列表,目前它使用&lt;div&gt;s 和&lt;table&gt;s.

有没有人有好的解决方法?

我正在使用&lt;asp:XmlDataSource&gt; 填充TreeView

这个explains the current situation很好。

【问题讨论】:

    标签: html treeview rendering


    【解决方案1】:

    看过CSS-Adapters吗?他们应该做你正在寻找的东西。

    【讨论】:

    • 如果没有,您可以修改它们。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-08-25
    • 1970-01-01
    • 2021-11-14
    • 2012-11-19
    • 2011-05-27
    • 2022-12-20
    • 1970-01-01
    相关资源
    最近更新 更多