无刷新弹出警告:
ScriptManager.RegisterStartupScript(this.Page, this.GetType(),”onekey”, “alert(‘弹出’)”, true);
而以下方法,会刷新弹出,比较难看
Response.Write(““);
ClientScript.RegisterStartupScript(this.Page, this.GetType(),”onekey”, “alert(‘弹出’)”, true);
无刷新弹出警告:
ScriptManager.RegisterStartupScript(this.Page, this.GetType(),”onekey”, “alert(‘弹出’)”, true);
而以下方法,会刷新弹出,比较难看
Response.Write(““);
ClientScript.RegisterStartupScript(this.Page, this.GetType(),”onekey”, “alert(‘弹出’)”, true);