在使用updatepanel时不能直接在后台使用Response.Write输出或用JS弹出窗口,应该改用ScriptManager.RegisterStartupScript(this.UpdatePanel1, this.GetType(), "updateScript", "alert('对不起,账号和密码错误');", true); 这样的方式来输出。

 

相关文章:

  • 2021-09-09
  • 2022-02-07
  • 2021-12-31
  • 2022-02-08
  • 2021-12-10
猜你喜欢
  • 2022-12-23
  • 2021-09-15
  • 2021-09-24
  • 2021-11-03
  • 2022-12-23
  • 2022-01-04
相关资源
相似解决方案