网页调用客户端弹出框
this.ClientScript.RegisterStartupScript(this.GetType(), "message", "<script>alert('!');</script>");
ajax里要这么用。
有UpdatePanel 需要用下面的代码
ScriptManager.RegisterStartupScript(UpdatePanel1, UpdatePanel1.GetType(), "", "alert('!');", true);