<?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>Add query string parameters in URL</title><link>https://www.infopathdev.com:443/forums/thread/82567.aspx</link><pubDate>Wed, 12 Sep 2012 10:56:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82567</guid><dc:creator>Shubha</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82567.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=82567</wfw:commentRss><description>&lt;p&gt;I am using Infopath 2010&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have multiple hyperlinks &amp;#39;Test1&amp;#39;, &amp;#39;Test2&amp;#39;, &amp;#39;Test3&amp;#39; but I will be redirecting to the same page &amp;#39;Test.aspx&amp;#39; on click of these links. I have an infopath form embedded inthe page Test.aspx. So I need to write a logic based on the hyperlink which I have clicked. &lt;/p&gt;
&lt;p&gt;Suppose I click on &amp;#39;Test1&amp;#39; I want it to redirect to &amp;#39;Test.aspx&amp;#39; and add a query string parameter &amp;#39;?hyperlink=Test1&amp;#39; in infopath form code behind.&amp;nbsp;I will be reading this parameter and write the logic accordingly.&lt;/p&gt;
&lt;p&gt;Can any help how to add this query string string parameter in infopath form codebehind?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t make any changes in aspx, so kindly refrain from giving suggestion where aspx changes are required.&lt;/p&gt;</description></item></channel></rss>