<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Submittion succesful poup box - can i stop it</title><link>https://www.infopathdev.com:443/forums/thread/22519.aspx</link><pubDate>Wed, 22 Aug 2007 06:22:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22519</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22519.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=22519</wfw:commentRss><description>Hi Shiva, I guess that he is talking about the standard message box which appears when you submit a form via a data connection. Yes it is possible to get rid of this message but then you have to use code. here is the solution: var objDataAdapter = XDocument.DataAdapters(&amp;quot;NameOfDataConnection&amp;quot;); objDataAdapter.Submit(); XDocument.SetDirty(false); // Bypasses &amp;quot;Do you want to save&amp;quot; prompt Application.ActiveWindow.Close();</description></item><item><title>Re: Submittion succesful poup box - can i stop it</title><link>https://www.infopathdev.com:443/forums/thread/22518.aspx</link><pubDate>Wed, 22 Aug 2007 06:16:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22518</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22518.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=22518</wfw:commentRss><description>&lt;p&gt;Hi Buzz,&lt;/p&gt;
&lt;p&gt;Can you give the details who are giving the alert message when form submitted successfully? I mean that alert message is from your code right?&lt;/p&gt;
&lt;p&gt;If you want to stop that successful message when form is once submitted then you have to keep one condition. &lt;/p&gt;
&lt;p&gt;if(thisXDocument.IsNew)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;thisXDocument.UI.Alert(“Your successful message”);&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;Hope this helps you.&lt;/p&gt;</description></item><item><title>Submittion succesful poup box - can i stop it</title><link>https://www.infopathdev.com:443/forums/thread/22358.aspx</link><pubDate>Thu, 16 Aug 2007 14:15:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22358</guid><dc:creator>buzzby</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22358.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=22358</wfw:commentRss><description>&lt;p&gt;I have a web form that is submitted. This works fine but when the forms sumbits works the user gets a pop up box saying this. You then have to click ok to get redirected to the form libray. Is it possiable to stop this pop up box and just redirectto the form library once the submit is successful?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Buzz&lt;/p&gt;</description></item></channel></rss>