|
無刷新彈出警告: ScriptManager.RegisterStartupScript(this.Page, this.GetType(),"onekey", "alert('彈出')", true);
而以下方法,會刷新彈出,比較難看 Response.Write("<script>alert('彈出')</script>"); ClientScript.RegisterStartupScript(this.Page, this.GetType(),"onekey", "alert('彈出')", true); |
