Home All Groups Group Topic Archive Search About
Author
28 Nov 2007 6:18 PM
James Lennon
Is there are windows form that can be bound to an XML document to display XML
in a user friendly manner.

Author
28 Nov 2007 6:25 PM
James Lennon
Sorry, I meant to say:

Is there a windows forms control that can be bound to an XML document to
display XML in a user friendly manner.

Show quote
"James Lennon" wrote:

> Is there are windows form that can be bound to an XML document to display XML
> in a user friendly manner.
Author
28 Nov 2007 6:25 PM
Peter Bromberg [C# MVP]
When you say "is there are windows form" I assume you mean "is there a
windows forms control".
You can put a webbrowser control onto a windows form, and load the
xmldocument into it for a nice display.

--Peter
"Inside every large program, there is a small program trying to get out."
http://www.eggheadcafe.com
http://petesbloggerama.blogspot.com
http://www.blogmetafinder.com



Show quote
"James Lennon" wrote:

> Is there are windows form that can be bound to an XML document to display XML
> in a user friendly manner.
Author
28 Nov 2007 6:30 PM
Nicholas Paldino [.NET/C# MVP]
James,

    Not one that was meant to display XML.  However, you can embed a
WebBrowser control in your form and call the Navigate method, pointing to
your XML file (if you have one) or by changing the properties on the
HtmlDocument exposed by the control (DocumentString, DocumentStream, I
believe).

    The webbrowser control will then render the XML the way IE would (since
the WebBrowser control is basically IE).

--
          - Nicholas Paldino [.NET/C# MVP]
          - mvp@spam.guard.caspershouse.com

Show quote
"James Lennon" <JamesLen***@discussions.microsoft.com> wrote in message
news:47C3262E-7DA5-4C7A-B0FC-8FF5F039AA45@microsoft.com...
> Is there are windows form that can be bound to an XML document to display
> XML
> in a user friendly manner.
Author
29 Nov 2007 12:30 AM
Tom Shelton
On Nov 28, 11:18 am, James Lennon
<JamesLen***@discussions.microsoft.com> wrote:
> Is there are windows form that can be bound to an XML document to display XML
> in a user friendly manner.

Windows forms?  No specifically no - but, using WPF it is quite
possible to bind a control(s) to an xml document's contents.

--
Tom Shelton

AddThis Social Bookmark Button