Last post Aug 26, 2011 11:08 AM by Gaspard
Aug 26, 2011 10:26 AM|jackjohnson4444|LINK
I am trying to output my generic list as an xml document. I can serialize my list and view the output as an xml document in firefox, but in ie, I get an error "The XML page cannot be displayed Cannot view XML input using style sheet. Please correct the
error and then click the Refresh button, or try again later." Also, I was using a jquery plugin to read my xml file and I can't get it to work. Can someone please show me how to output a generic list via a ashx handler?
brokerageList = BrokerageController.GetBrokerages();
StringWriter outStream = new StringWriter();
XmlSerializer xmlSerializer = new XmlSerializer(brokerageList.GetType());
will do something, but it isn't correct. I can view it in firefox, but something is definitely wrong.
Aug 26, 2011 11:08 AM|Gaspard|LINK
This thread may help