弹窗:
1、Response.Write("<script>alert(‘无可导出项!');</script>"); //弹出窗口点击确定后,原页面的格式改变
2、Page.ClientScript.RegisterStartupScript(this.GetType(), "Success", "alert('帐号密码错误或未启用,请联系信息处!');", true);
3、ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "", "alert('添加失败!')", true);
跳转:
Response.Redirect("/Backstage/index.aspx");
弹窗点击确定后跳转:
Response.Write("<script language=javascript>alert('温馨提示:提交成功!');window.location='ReAll.aspx'</script>");