Redirect to another URL within the same site collection when closing the form. - InfoPath Dev
in

InfoPath Dev

Redirect to another URL within the same site collection when closing the form.

Last post 09-18-2011 12:11 PM by Scott Rooke. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 09-18-2011 12:11 PM

    Redirect to another URL within the same site collection when closing the form.

    I'm trying to get a browser-enabled form to redirect to another page in the Site Collection after the form closes. I have read in numerous posts and blogs that you can update the source parameter in the URL to do this. My issue is I need to build the redirect URL string based on values in the current form. For testing purposes

    Here is what I've tried so far:
  • added a button to a form
  • updated rules on button to close the form
  • added code to the button click event --> string strURL = "http://sp2010srv/sites/p108/sitepages/procnum.aspx";
    HttpContext.Current.Response.Redirect(strURL ,false); a reference was added to System.Web
  • publish the form
  • upload form in central admin
  • browse to form library
  • open form, click button
  • RESULT: Error Unknown


  • Anyone have any ideas?

    thanks in advance!

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