<?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>Error : showing Infopath in Sharepoint</title><link>https://www.infopathdev.com:443/forums/thread/41480.aspx</link><pubDate>Sat, 09 May 2009 07:52:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41480</guid><dc:creator>saravanakumar38</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41480.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=41480</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have created the Infopath form, whcih uses the code behid file for doing calculation. i have added the web reference to the code behind file, got the webservice for doing some calculation. In the infopath form, I am dynamically creating the repeating control and showing the calculated values. when i click the preview it is properly showing the data.&lt;/p&gt;
&lt;p&gt;when i am trying to show the infopath form in the xmlformviewer, only the static controls are displaying. dynamic controls are not displaying.&lt;/p&gt;
&lt;p&gt;Can any one tell be what might be the problem?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I tried the other option,&lt;/p&gt;
&lt;p&gt;I have added one button inside the Infopath and in the click event, i try to call the same method which will dynamically create the repeating controls. i have used the Web service to fill the data repeating control, as i did for above method. But from Sharepoint when i click this button it is showing &amp;#39; Object reference not set to instance of an object&amp;#39;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>