<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Open Hyperlink in the same window</title><link>https://www.infopathdev.com:443/forums/thread/93780.aspx</link><pubDate>Sat, 19 Oct 2013 20:44:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93780</guid><dc:creator>RohanRao</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93780.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=93780</wfw:commentRss><description>&lt;p&gt;&lt;font size="2" face="Consolas"&gt;&lt;font size="2" face="Consolas"&gt;&lt;strong&gt;Thanks Patrick for your reply.&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Consolas"&gt;Yes i have started my work yes you have&amp;nbsp;proposed&amp;nbsp;used the below code on the button on Click event.&lt;/font&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;font size="2" face="Consolas"&gt;&lt;font size="2" face="Consolas"&gt;XPathNavigator nav = e.Source.CreateNavigator();&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="2" face="Consolas"&gt;&lt;font size="2" face="Consolas"&gt;
&lt;/font&gt;&lt;/font&gt;&lt;p&gt;&lt;font color="#2b91af" size="2" face="Consolas"&gt;&lt;font color="#2b91af" size="2" face="Consolas"&gt;&lt;font color="#2b91af" size="2" face="Consolas"&gt;String&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" face="Consolas"&gt;&lt;font size="2" face="Consolas"&gt; a = nav.SelectSingleNode(&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2" face="Consolas"&gt;&lt;font color="#a31515" size="2" face="Consolas"&gt;&lt;font color="#a31515" size="2" face="Consolas"&gt;&amp;quot;my:URL&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" face="Consolas"&gt;&lt;font size="2" face="Consolas"&gt;, NamespaceManager).Value;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="2" face="Consolas"&gt;&lt;font size="2" face="Consolas"&gt;
&lt;/font&gt;&lt;/font&gt;&lt;p&gt;&lt;font color="#2b91af" size="2" face="Consolas"&gt;&lt;font color="#2b91af" size="2" face="Consolas"&gt;&lt;font color="#2b91af" size="2" face="Consolas"&gt;HttpContext&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" face="Consolas"&gt;&lt;font size="2" face="Consolas"&gt;.Current.Response.Redirect(a, &lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2" face="Consolas"&gt;&lt;font color="#0000ff" size="2" face="Consolas"&gt;&lt;font color="#0000ff" size="2" face="Consolas"&gt;false&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" face="Consolas"&gt;&lt;font size="2" face="Consolas"&gt;);&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Consolas"&gt;I have couple of questions&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Consolas"&gt;1.This works in firefox and chrome but not in IE9. In IE it shows the form is loading but when i manually refreh the page the form loads up.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Consolas"&gt;2.Is the above code good practice.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Consolas"&gt;3.After the redirect the back button doesnt work as its&amp;nbsp;suppose to, it doesn&amp;#39;t take me back to the page where&amp;nbsp;i have&amp;nbsp;clicked the button for redirection.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Consolas"&gt;-Rohan&lt;/font&gt;&lt;/p&gt;&lt;font size="2" face="Consolas"&gt;&lt;font size="2" face="Consolas"&gt;&lt;/font&gt;&lt;/font&gt;</description></item><item><title>Re: Open Hyperlink in the same window</title><link>https://www.infopathdev.com:443/forums/thread/93776.aspx</link><pubDate>Sat, 19 Oct 2013 19:09:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93776</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93776.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=93776</wfw:commentRss><description>&lt;p&gt;Well, the link can open the form in a separate window - that&amp;#39;s easy and out of box.&lt;/p&gt;
&lt;p&gt;You can make the link a button that queries the Library to get the XML into a secondary data source and then you can use one of two techniques to copy the data into your main data source:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Rules - just copy each field&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;qRules SwapDom - copy all fields with one command (requires injection of qRules plugin)&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Then you would just submit over the existing form.&lt;/p&gt;
&lt;p&gt;No need to hack the XSLT.&lt;/p&gt;</description></item><item><title>Open Hyperlink in the same window</title><link>https://www.infopathdev.com:443/forums/thread/93677.aspx</link><pubDate>Tue, 15 Oct 2013 18:38:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93677</guid><dc:creator>RohanRao</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93677.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=93677</wfw:commentRss><description>&lt;p&gt;I have an infopath form which has two views &lt;/p&gt;&lt;p&gt;&amp;nbsp;- Create Request&lt;br /&gt;&amp;nbsp;- List of all submitted Forms&lt;br /&gt;I am getting the second view with the help of a secondary dataconnection to the SharePoint submit library and using a repeating table to show the details.&lt;/p&gt;&lt;p&gt;To open any existing form that was submitted i have created a hyperlink field&lt;br /&gt;(Insert &amp;gt; Hyperlink selected the URL field and the Title field from the dataconnection) &lt;br /&gt;in repeating table when clicked opens the form, everything works prefect but my only problem is the form opens up in a new window is there way to open the form in the same window.&lt;/p&gt;&lt;p&gt;Tried Changing the View.xsl&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;a onclick=&amp;quot;BLOCKED SCRIPTNewItem2(event,&amp;#39;&amp;#39;);return false;&amp;quot; target=&amp;quot;_self&amp;quot;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:attribute name=&amp;quot;href&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:value-of select=&amp;quot;d:URL&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:attribute&amp;gt;title &amp;lt;/a&amp;gt;&lt;/p&gt;&lt;p&gt;above example opens the link in the same page but the link is not populated the right way because the removed `class=&amp;quot;xdDataBindingUI&amp;quot; xd:disableEditing=&amp;quot;yes&amp;quot;` from the hyperlink anchor tag.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;a onclick=&amp;quot;BLOCKED SCRIPTNewItem2(event,&amp;#39;&amp;#39;);return false;&amp;quot; target=&amp;quot;_self&amp;quot; class=&amp;quot;xdDataBindingUI&amp;quot; xd:disableEditing=&amp;quot;yes&amp;quot;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:attribute name=&amp;quot;href&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:value-of select=&amp;quot;d:URL&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:attribute&amp;gt;title &amp;lt;/a&amp;gt;&lt;br /&gt;When i include the class the URL is populated correctly but its opening in a new window rather than the same window.&lt;/p&gt;&lt;p&gt;Let me know if there is a better approach.&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>