TreeView CSS Friendly Output? Control Adapters? ASP.NET 3.5

£可爱£侵袭症+ 提交于 2019-12-23 12:19:44

问题


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?


回答1:


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.

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.



来源:https://stackoverflow.com/questions/640158/treeview-css-friendly-output-control-adapters-asp-net-3-5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!