Sep 20, 2010 01:21 PM|TacRedline|LINK
I have a block of XML text I need to show the user (so they can copy/paste the XML from the screen)
I use StringWriter() to make the XML a String but when I use Response.Write(xmlString) I get the following error
Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters,
HttpModules, or server trace is enabled.
Details: Error parsing near '<?xml version="1.0" '.
I guess IE does not like rendering XML in the middle of a page?
is there anyway to show the XML data in the middle of my ASPX page?
Many thanks! :)