<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Infopath validation using XMLformview control</title><link>https://www.infopathdev.com:443/forums/thread/25457.aspx</link><pubDate>Mon, 07 Jan 2008 17:17:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25457</guid><dc:creator>davidair</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25457.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=25457</wfw:commentRss><description>&lt;p&gt;Hey sachin,&lt;/p&gt;
&lt;p&gt;you can achieve what you are trying to do by inspecting the errors collection of the XmlForm object. For example, if your control is called XmlFormView1, you can do the following in your code-behind:&lt;/p&gt;
&lt;p&gt;this.XmlFormView1.DataBind(); // or else XmlForm will be null&lt;br /&gt;XmlForm xmlForm = this.XmlFormView1.XmlForm;&lt;/p&gt;
&lt;p&gt;And then you can party on xmlForm all you want.&lt;/p&gt;
&lt;p&gt;However there is one problem: you can only do this when the form posts back to the server. You can either achieve it by having a button doing a postback (saying &amp;quot;display errors&amp;quot;) or by setting all the controls to always send data to server when modified. The later is not advised because of bad performance and user experience.&lt;/p&gt;
&lt;p&gt;Hope that helps,&lt;/p&gt;
&lt;p&gt;David.&lt;/p&gt;</description></item><item><title>Re: Infopath validation using XMLformview control</title><link>https://www.infopathdev.com:443/forums/thread/25451.aspx</link><pubDate>Mon, 07 Jan 2008 15:46:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25451</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25451.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=25451</wfw:commentRss><description>&lt;p&gt;Hi Sachin and welcome to the forums!&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t have a whole lot of experience making browser-enabled forms, but I believe this is one of the things that you lose when you choose to make your form browser-enabled.&amp;nbsp; I looked through the documentation for XmlFormView and didn&amp;#39;t see anything obvious.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry, and please let us know if you figure something out!&lt;/p&gt;</description></item><item><title>Infopath validation using XMLformview control</title><link>https://www.infopathdev.com:443/forums/thread/25407.aspx</link><pubDate>Fri, 04 Jan 2008 12:58:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25407</guid><dc:creator>sachinmk</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25407.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=25407</wfw:commentRss><description>&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;I am new to infopath. I have created a simple template using infopath 2007 and integrated it with web form (aspx page) using XMLformview control. While creating the template i have added the validations and the validation messages to few controls (like numeric for age, and telephone) etc. My problem is when i embed this template in the web page using xmlformview, when the aspx page is submitted i need to display the validation error messages on aspx page. So could you please help me out how to bubble the validation messages from infopath to aspx page using xmlform view control.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks&lt;/p&gt;</description></item></channel></rss>