<?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>InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/142.aspx</link><description>Are you exploring new features coming up in 2010? Share information and ask questions here!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Making Changes in Infopath Form contained in XmlFormView control on a web page</title><link>https://www.infopathdev.com:443/forums/thread/70648.aspx</link><pubDate>Tue, 27 Sep 2011 17:53:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70648</guid><dc:creator>DhavalR</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70648.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=70648</wfw:commentRss><description>&lt;table&gt;

&lt;tr&gt;
&lt;td class="votecell"&gt;
&lt;div class="vote"&gt;&lt;a class="vote-up-off" title="This question shows research effort; it is useful and clear (click again to undo)"&gt;&lt;/a&gt;&amp;nbsp;&lt;/div&gt;&lt;/td&gt;
&lt;td class="postcell"&gt;
&lt;div&gt;
&lt;div class="post-text"&gt;
&lt;p&gt;I am trying to show/hide different sections in infopath form contained in XmlFormView control contained in a Web Page. I have to show/ hide sections on Infopath form based on the ASP.NET Buttons click (This button is outside of the Infoapath form, it is in a web page). I am only able to do this through Initialize event of the XmlFormView control but this event fires only ones. I want functionality that whenever user clicks different buttons on ASP.NET page, it changes sections in the Infopath form contained in the XmlFormView control.&lt;/p&gt;
&lt;p&gt;There are only for Events that can be utilized. Initialize, SubmitToHost, NotifyHost and Close.&lt;/p&gt;
&lt;p&gt;Initialize fires only ones. SubmitToHost and NotifyHost are used to transfer data from the form to web page (I think)&lt;/p&gt;
&lt;p&gt;Any help will be appreciated&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</description></item></channel></rss>