原文发布时间为:2009-05-17 —— 来源于本人的百度文章 [由搬家工具导入]
无刷新弹出警告:
ScriptManager.RegisterStartupScript(this.Page, this.GetType(),"onekey", "alert('弹出')", true);
而以下方法,会刷新弹出,比较难看
Response.Write("<script>alert('弹出')</script>");
ClientScript.RegisterStartupScript(this.Page, this.GetType(),"onekey", "alert('弹出')", true);