服务端:
ClientScript.RegisterStartupScript(this.GetType(), "AfterSave", "<script language='javascript'>AfterSave();</script>");
客户端:
function AfterSave() {
window.alert("感谢您的参与,我们承诺对您所填和信息和您的个人信息保密。调查结束后我们将第一时间发送调查报告给您。");document.location = "http://www.XX.com";
}