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.
There are only for Events that can be utilized. Initialize, SubmitToHost, NotifyHost and Close.
Initialize fires only ones. SubmitToHost and NotifyHost are used to transfer data from the form to web page (I think)
Any help will be appreciated