How can I use a Visual Web Part to pass a parameter to an XML Control in runtime?http://forums.asp.net/t/1807780.aspx/1?How+can+I+use+a+Visual+Web+Part+to+pass+a+parameter+to+an+XML+Control+in+runtime+Sun, 27 May 2012 20:35:10 -040018077804998576http://forums.asp.net/p/1807780/4998576.aspx/1?How+can+I+use+a+Visual+Web+Part+to+pass+a+parameter+to+an+XML+Control+in+runtime+How can I use a Visual Web Part to pass a parameter to an XML Control in runtime? <p>Hi,</p> <p>I need some guidance, please.</p> <p>I have a Visual Web Part in VS2010 that queries a web service and returns an XML file.</p> <p>How can I pass this XML to an XML Control on the same page in runtime?</p> <p>I already set the 'TransformSource' parameter to my XSLT template file.</p> <p>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:</p> <ul> <li>Convert the HTML file to PDF </li><li>Save it a SharePoint library </li></ul> <p>How can I do that?</p> <p>Thanks in advanced</p> 2012-05-26T10:52:04-04:004999491http://forums.asp.net/p/1807780/4999491.aspx/1?Re+How+can+I+use+a+Visual+Web+Part+to+pass+a+parameter+to+an+XML+Control+in+runtime+Re: How can I use a Visual Web Part to pass a parameter to an XML Control in runtime? <p>you could use ajax to do asynchronous call to the service and handle the returned data using JSON or Linq.</p> <p>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.</p> 2012-05-27T20:35:10-04:00