防止重复提交 仅提交一次的终极绝杀技

  

  

  

  

  ValidationGroup="Group1" ErrorMessage="*">

  

  ValidationGroup="Group1" OnClientClick="if(!disableButton(this, 'Group1')) return false;" OnClick="btnPostBack_Click">

  

  

  

  

  

  ValidationGroup="Group2" ErrorMessage="*">

  

  OnClientClick="if(!disableButton(this)) return false;" OnClick="btnPostBack_Click">