I have an event called SubmitResponse()
.
A user is presented with a list of questions and possible responses. After completing the responses, the user clicks the Preview button. If responses are correct, the user clicks the SubmitResponse button and then SubmitResponse()
processes it.
Upon clicking the SubmitResponse button, a print screen pops up for the user to print a copy. This is the calling code for the JS print feature.
finsub.Attributes.Add(OnClick, print_form())
Works fine but there is one problem. We would like the user to be redirected to the screen that displays results of his/her response with the code below.
Response.Redirect(results.aspx)
What is happening is that once the user clicks the submitResponses button, s/he is immediately redirected to the results.aspx page
and the print feature is no longer available.
Is there a way to work around this?