<?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>Infopath form library not loading contents properly after redirection.</title><link>https://www.infopathdev.com:443/forums/thread/68472.aspx</link><pubDate>Sat, 16 Jul 2011 23:39:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68472</guid><dc:creator>sprok</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68472.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=68472</wfw:commentRss><description>&lt;p&gt;There are 2 infopath&amp;nbsp;form libraries- libraryA and libraryB. When i open a form in libraryA and click a custom button in it,&amp;nbsp;it should redirect to libraryB. In the infopath code behind file, i have the following in the button click event:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;SPUtility.Redirect(&amp;quot;URLXX&amp;quot;, SPRedirectFlags.DoNotEndResponse, HttpContext.Current);&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The redirection is working and going to libraryB, but after redirection, the contents of the&amp;nbsp;form libraryB are&amp;nbsp;not&amp;nbsp;loading properly - Its throwing this javascript error: &lt;strong&gt;Error: &amp;#39;ctx1&amp;#39; is undefined.&amp;nbsp;&lt;/strong&gt; If i set up Group By, the form contents are not loading. But&amp;nbsp;without Group By, the contents are loading. Also look and feel of the libraryB is disturbed too.&lt;/p&gt;
&lt;p&gt;Can anyone suggest a solution for this. Thank you.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>