保存后,想提示一下并保留查询条件的状态,发现可以用document.forms[0].submit();继续提交达到刷新的目的

代码如下:

ScriptManager.RegisterStartupScript(this, this.GetType(), "", string.Format("alert('{0}');document.forms[0].submit(); ", message), true);

相关文章:

  • 2022-02-17
  • 2021-11-25
  • 2021-08-10
  • 2021-11-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-20
  • 2022-12-23
  • 2021-07-13
  • 2022-01-06
  • 2021-10-07
  • 2022-12-23
相关资源
相似解决方案