Infopath form library not loading contents properly after redirection. - InfoPath Dev
in

InfoPath Dev

Infopath form library not loading contents properly after redirection.

Last post 07-16-2011 04:39 PM by sprok. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 07-16-2011 04:39 PM

    • sprok
    • Not Ranked
    • Joined on 07-16-2011
    • Posts 1

    Infopath form library not loading contents properly after redirection.

    There are 2 infopath form libraries- libraryA and libraryB. When i open a form in libraryA and click a custom button in it, it should redirect to libraryB. In the infopath code behind file, i have the following in the button click event:

    SPUtility.Redirect("URLXX", SPRedirectFlags.DoNotEndResponse, HttpContext.Current);

    The redirection is working and going to libraryB, but after redirection, the contents of the form libraryB are not loading properly - Its throwing this javascript error: Error: 'ctx1' is undefined.  If i set up Group By, the form contents are not loading. But without Group By, the contents are loading. Also look and feel of the libraryB is disturbed too.

    Can anyone suggest a solution for this. Thank you.

     

Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.