How to I redirect to another page *after* printing document?

前端 未结 5 1629
悲&欢浪女
悲&欢浪女 2020-12-17 06:31

I have an event called SubmitResponse().

A user is presented with a list of questions and possible responses. After completing the responses, the user

5条回答
  •  伪装坚强ぢ
    2020-12-17 07:26

    Redirect on client side using javascript/jQuery

      onclick="window.print();window.location.href='results.aspx';"
    

    For your case

     insub.Attributes.Add("OnClick", "print_form();window.location.href='results.aspx';")
    

提交回复
热议问题