标签:response void sage 弹出对话框 css static net value psc
protected void ASPxButton2_Click(object sender, EventArgs e)
{
//Response.Write("<script>alert(‘删除成功!‘)</script>");
WebMessageBox(this.Page, "*******");
}
public static void WebMessageBox(System.Web.UI.Page page, string values)
{
page.ClientScript.RegisterStartupScript(page.GetType(), "", "<script language=javascript>alert(‘" + values + "‘)</script>");
}
public static void WebMessageBox(System.Web.UI.Page page, string msg, string href)
{
page.ClientScript.RegisterStartupScript(page.GetType(), "", "<script language=‘javascript‘>alert(‘" + msg + "‘);window.location.href=‘" + href + "‘;</script>");
}
ASP.NET 使用alert弹出对话框后,CSS样式失效,字体变大的解决方法
标签:response void sage 弹出对话框 css static net value psc
原文地址:https://www.cnblogs.com/qqhfeng/p/10270707.html