W
Winston
Hi,
I want to use the Webbrowser Control (the Internet Explorer Control) to
display an XML-structure within a C# WinForm.
The way the IE displays a XML-file in its native form is exactly what I need
(as tree structure with plus/minus).
This works great as long as I load the XML to display from a file with the
Navigate2-method of the control.
But my XML comes not from a file but is created dynamically during runtime.
When I feed the document-object of the IE-control with my generated XML,
unfortunately the IE control displays my XML as plain text and not in
XML-mode.
Does anyone know how to tell the IE with C# that the given string has to be
displayed as a XML document?
Any help appreciated,
Winston
I want to use the Webbrowser Control (the Internet Explorer Control) to
display an XML-structure within a C# WinForm.
The way the IE displays a XML-file in its native form is exactly what I need
(as tree structure with plus/minus).
This works great as long as I load the XML to display from a file with the
Navigate2-method of the control.
But my XML comes not from a file but is created dynamically during runtime.
When I feed the document-object of the IE-control with my generated XML,
unfortunately the IE control displays my XML as plain text and not in
XML-mode.
Does anyone know how to tell the IE with C# that the given string has to be
displayed as a XML document?
Any help appreciated,
Winston