- Use the Source query string: so the page will know where to navigate to after the form is closed or submitted (Watch Out: The URL must be in the same site collection or an error will be returned.)
- Add the OnClose event to the XmlFormView, add code to redirect after closing:
Response.Redirect(http://www.dolmen.be);
In the Infopath Form, you must add the Action: "Close this form: No Prompt" in the rules of the InfoPath Button, otherwise the OnClose event won't fire.
Source blogposts:
Geen opmerkingen:
Een reactie posten