<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Form code does not work if form contains at least one Web-Service connection.</title><link>https://www.infopathdev.com:443/forums/thread/27693.aspx</link><pubDate>Fri, 04 Apr 2008 03:24:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27693</guid><dc:creator>DanchoPancho</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27693.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=27693</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve solved the problem. My bad. I was creating a new ASP.NET application for a folder&amp;nbsp;of the&amp;nbsp;XmlFormView hosting page instead of leaving it as it was.&lt;/p&gt;</description></item><item><title>Form code does not work if form contains at least one Web-Service connection.</title><link>https://www.infopathdev.com:443/forums/thread/27612.aspx</link><pubDate>Wed, 02 Apr 2008 05:30:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27612</guid><dc:creator>DanchoPancho</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27612.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=27612</wfw:commentRss><description>&lt;p&gt;Hi everyone!&lt;/p&gt;
&lt;p&gt;When my XSN forms contain at least one Web-Service connection (even without binding to particular fields) a form code is not executed in my XmlFormView host page. But it works fine in the default SharePoint Portal&amp;#39;s page &lt;a href="http://[servername]/_layouts/FormServer.aspx"&gt;http://[servername]/_layouts/FormServer.aspx&lt;/a&gt;. I re-read an article about Hosting XmlFormView contol in custom ASP.NET pages (&lt;a href="http://msdn2.microsoft.com/en-us/library/aa701078.aspx"&gt;http://msdn2.microsoft.com/en-us/library/aa701078.aspx&lt;/a&gt;) twice and strongly followed instructions. But I still have the problem. Also the Header/Footer toolbar buttons&amp;nbsp;do not work either (in my page).&lt;/p&gt;
&lt;p&gt;Here is my code in the form:&lt;/p&gt;
&lt;p style="FONT-FAMILY:Courier;"&gt;public void BTN_TEST_Clicked(object sender, ClickedEventArgs e)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; XPathNavigator nav = MainDataSource.CreateNavigator().SelectSingleNode(&amp;quot;/Root/CreditRequest/ClientInfo/Name&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; nav.SetValue(&amp;quot;Hello World!&amp;quot;);&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;I repeat it doesn’t work in my ASP.NET page, only if I have any Web-service Data connection but it works in the native SharePoint’s form page (&lt;a href="http://[servername]/_layouts/FormServer.aspx"&gt;http://[servername]/_layouts/FormServer.aspx&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;</description></item></channel></rss>