I Have some xml data like
`<?xml version='1.0'?>
<lunch-menu>
<food>
<name>Cheese Pizza</name>
<price>$6.95</price>
<description>Individual deep-dish pizza with lots of mozzarella cheese</description>
<calories>80开发者_运维技巧0</calories>
</food>
</lunch-menu>'
I want to display this data in a textbox/textarea or some other asp.net control with options like collapse tag , copy , paste options. Please help me out to this.
What about ASP.NET TreeView Control? It automatically provides you with Collapse feature. And Copy/Paste features you can make yourself by implementing context menu, see Context menu for TreeView Control
精彩评论