无刷新弹出警告:       

ScriptManager.RegisterStartupScript(this.Page, this.GetType(),"onekey", "alert('弹出')", true);

 

而以下方法,会刷新弹出,比较难看

Response.Write("<script>alert('弹出')</script>");

ClientScript.RegisterStartupScript(this.Page, this.GetType(),"onekey", "alert('弹出')", true);

相关文章:

  • 2021-07-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-28
  • 2021-06-03
  • 2021-11-07
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案