S
SilentCry
i'm writing a composite control in ASP.Net within which i want to display
the contents of an xml file. i want to be able to view the xml 2 different
ways - as straight text and as a treeview (the way IE displays the file when
it is double-clicked on). the text view is pretty simple - just use a
multiline textbox w/wrap=true and read the file in. what i can't figure out
is how to display the xml in a treeview. i originally thought of using a
browser control (AxInterop.SHDocVw) but apparently, this is only available
for windows forms based applications.
anybody have any ideas on how to display xml as a tree just like IE does?
the contents of an xml file. i want to be able to view the xml 2 different
ways - as straight text and as a treeview (the way IE displays the file when
it is double-clicked on). the text view is pretty simple - just use a
multiline textbox w/wrap=true and read the file in. what i can't figure out
is how to display the xml in a treeview. i originally thought of using a
browser control (AxInterop.SHDocVw) but apparently, this is only available
for windows forms based applications.
anybody have any ideas on how to display xml as a tree just like IE does?