我正在使用vs 2010.我需要向用户显示消息并重定向页面。如何在重定向页面之前获取警报消息
我使用下面的行。
ScriptManager.RegisterStartupScript(this, this.GetType(), "alert", "<script> alert('User details saved sucessfully');window.open('frmDisplayUsers.aspx');</script>", true);
但我没有收到警报消息,并且该页面被直接重定向。
如何获取警报消息?