I have a Visual Web Part in VS2010 that queries a web service and returns an XML file.
How can I pass this XML to an XML Control on the same page in runtime?
I already set the 'TransformSource' parameter to my XSLT template file.
Basically, I want to query the web service, apply the XSLT on the fly to the XML and display the final result in the same page. In addition, I would like to:
ramon84
Member
13 Points
57 Posts
How can I use a Visual Web Part to pass a parameter to an XML Control in runtime?
May 26, 2012 10:52 AM|LINK
Hi,
I need some guidance, please.
I have a Visual Web Part in VS2010 that queries a web service and returns an XML file.
How can I pass this XML to an XML Control on the same page in runtime?
I already set the 'TransformSource' parameter to my XSLT template file.
Basically, I want to query the web service, apply the XSLT on the fly to the XML and display the final result in the same page. In addition, I would like to:
How can I do that?
Thanks in advanced
magicmike201...
Contributor
2021 Points
481 Posts
Re: How can I use a Visual Web Part to pass a parameter to an XML Control in runtime?
May 27, 2012 08:35 PM|LINK
you could use ajax to do asynchronous call to the service and handle the returned data using JSON or Linq.
As for the PFD conversion and SharePoint thats not my department lol but I'm sure someone else here can definitely help with that part.