标签:alert 弹出对话框 实现 add .net 后台 register 不能 type
原始
Context.Response.Write("<script></script>"); Response.Redirect();
解决办法:
ClientScript.RegisterStartupScript(this.GetType(), "Success", "<script type=‘text/javascript‘>alert(‘添加成功‘);window.location=‘AddAnLi.aspx‘;</script>‘");
标签:alert 弹出对话框 实现 add .net 后台 register 不能 type
原文地址:http://www.cnblogs.com/2515593227blog/p/6273159.html