ASP.Net后台 实现先弹出对话框,再跳转到另一个网页的实现方法

解决办法如下:

Response.Write("<script>alert('想在对话框中显示的内容');window.navigate(‘要转到的页面的URL’)</script>");

或者:

Response.Write("<script>alert(想在弹框中显示的内容');window.location.href='要转到的页面的URL';</script>");
原文地址:https://www.cnblogs.com/hafiz/p/5350261.html