Hello,
Is there a .net control to show a xml file (like xml notepad).
I can show it in a Textbox, but it will be not formatted.
Thanks.
Kris - 13 Feb 2006 15:31 GMT
Alan,
I assume there is no .Net built-in-control to show xml file. May be you
can try building using Xml API.
Cheers,
Kris
Gav - 13 Feb 2006 15:31 GMT
Have you tried a RichTextBox?
> Hello,
>
> Is there a .net control to show a xml file (like xml notepad).
> I can show it in a Textbox, but it will be not formatted.
>
> Thanks.
Kris - 13 Feb 2006 17:02 GMT
Gav,
Rich textbox has more of Microsoft word features. I dont know if it
supports XML tree view.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlr
fsystemwindowsformsrichtextboxclasstopic.asp
Cheers,
Kris
Exit Stage Jeff - 14 Feb 2006 01:58 GMT
> Hello,
>
> Is there a .net control to show a xml file (like xml notepad).
> I can show it in a Textbox, but it will be not formatted.
>
> Thanks.
Have you tried the WebBrowser control? The text will be formatted nicely
BUT you can not edit the file.