<?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: Redirect to external site with parameters</title><link>https://www.infopathdev.com:443/forums/thread/38273.aspx</link><pubDate>Tue, 10 Feb 2009 12:42:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38273</guid><dc:creator>Sheena</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38273.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=38273</wfw:commentRss><description>&lt;p&gt;hi, &lt;/p&gt;
&lt;p&gt;have gone through your post and your problem, even i&amp;#39; m facing the same issue&lt;/p&gt;
&lt;p&gt;i have a web-enabled infopath form&amp;nbsp;with a&amp;nbsp;close button - i want to save some data through code-behind in SQL and then after a successful save, i need to close the form and&amp;nbsp;redirect to the previous&amp;nbsp;page within the site.......&lt;u&gt;BUT IT DOESNOT WORK&lt;/u&gt;&lt;/p&gt;
&lt;p&gt;Please help me to solve the same.....&lt;/p&gt;
&lt;p&gt;Need your assistance&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Sheena&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Redirect to external site with parameters</title><link>https://www.infopathdev.com:443/forums/thread/33858.aspx</link><pubDate>Tue, 04 Nov 2008 16:12:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33858</guid><dc:creator>bmxpert1</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33858.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=33858</wfw:commentRss><description>&lt;p&gt;Wouldn&amp;#39;t putting your external URL in place of &amp;lt;Url of the form&amp;gt; from the previous post pretty much be the same thing. One points to the location of a form, one points to an external website. Both are in URL form so the it shouldnt really make a difference should it? Just an idea&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Redirect to external site with parameters</title><link>https://www.infopathdev.com:443/forums/thread/33633.aspx</link><pubDate>Wed, 29 Oct 2008 10:57:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33633</guid><dc:creator>Dhruman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33633.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=33633</wfw:commentRss><description>&lt;p&gt;Thanks for the reply, Shiva ...&lt;/p&gt;
&lt;p&gt;I specifically want to redirect from Infopath to &lt;strong&gt;&lt;em&gt;external &lt;/em&gt;&lt;/strong&gt;website. I am aware of the above method to open another InfoPath form. However, that is not what I want.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;&lt;u&gt;Do let me know if there is any way to redirect to an external website and pass query string as well&lt;/u&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Thanks a lot!&lt;/p&gt;
&lt;p&gt;Dhruman&lt;/p&gt;</description></item><item><title>Re: Redirect to external site with parameters</title><link>https://www.infopathdev.com:443/forums/thread/33632.aspx</link><pubDate>Wed, 29 Oct 2008 10:28:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33632</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33632.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=33632</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You have to write the below code in onClick event of your button,&lt;/p&gt;
&lt;p&gt;1. For getting the text box value,&lt;/p&gt;
&lt;p&gt;string textValue = XDocument.DOM.selectSingleNode(&amp;quot;XPath of your field&amp;quot;).text;&lt;/p&gt;
&lt;p&gt;2. Prepare the url using above value.&lt;/p&gt;
&lt;p&gt;3. Using below code we can open the form, &lt;/p&gt;
&lt;p&gt;Application.XDocuments.New(&amp;lt;Url of the form&amp;gt;, 1);&lt;/p&gt;
&lt;p&gt;Note: In this we can&amp;#39;t redirect to the above url. But we can close the exist form and open the new form.&lt;/p&gt;</description></item><item><title>Re: Redirect to external site with parameters</title><link>https://www.infopathdev.com:443/forums/thread/33620.aspx</link><pubDate>Wed, 29 Oct 2008 08:18:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33620</guid><dc:creator>Dhruman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33620.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=33620</wfw:commentRss><description>&lt;p&gt;Hi Shiva, Thanks a lot for your reply. However, it doesnt address my question completely. Forming the URL is not a problem. &lt;/p&gt;
&lt;p&gt;I have a button on the browser enabled InfoPath form. Something like a submit button. On click of that, I need to take the value from one of the text boxes in the Infopath form, and then redirect the user from Infopath based browser form to some external site.&lt;/p&gt;
&lt;p&gt;How do I achieve that in a button click event? Once the user clicks the button, the user should be redirected to some external site which I specify. Any idea how to do that?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Dhruman&lt;/p&gt;</description></item><item><title>Re: Redirect to external site with parameters</title><link>https://www.infopathdev.com:443/forums/thread/33619.aspx</link><pubDate>Wed, 29 Oct 2008 08:01:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33619</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33619.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=33619</wfw:commentRss><description>&lt;p&gt;Hello Welcome to the Forums,&lt;/p&gt;
&lt;p&gt;Which ever you given link are correct if we pass the value for it? Then we can create this format link in code,&lt;/p&gt;
&lt;p&gt;string url = string.Format(&amp;quot;&lt;a href="https://servername/subpath/filename?a=%7b0%7d&amp;amp;b="&gt;https://servername/subpath/filename?a=%7b0%7d&amp;amp;b=&lt;/a&gt;{1}&amp;quot;, valueA, valueB);&lt;/p&gt;
&lt;p&gt;we can pass this url for navigating to that form.&lt;/p&gt;</description></item><item><title>Redirect to external site with parameters</title><link>https://www.infopathdev.com:443/forums/thread/33553.aspx</link><pubDate>Mon, 27 Oct 2008 21:32:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33553</guid><dc:creator>Dhruman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33553.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=33553</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am implementing a browser-compatible&amp;nbsp;Infopath based solution, where on submit button click, I need to redirect the user to another website, and also pass query string to that website.&lt;/p&gt;
&lt;p&gt;Any idea on how to achieve this? There doesnt seem to be any Respose.Redirect type method. Also, how do I pass query string parameters.&lt;/p&gt;
&lt;p&gt;Basically, on click of a button on Infopath web based form, I want the page to navigate to a URL like &lt;a href="https://servername/subpath/filename?a=value&amp;amp;b=value"&gt;https://servername/subpath/filename?a=value&amp;amp;b=value&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Please help - have been stuck over this for a long time ... I am completely new to Infopath development&lt;/p&gt;</description></item></channel></rss>