Button1.Attributes.Add("onclick",   "this.value='正在提交中,请等待……';this.disabled=true;"   +   this.GetPostBackEventReference(Button1));

 

于是根据这个写了个只能提交一次的控件:

防止重复提交订单-(转)    public class ButtonSubmitOnce : Button
    }


来自:冰封的心 ;原文地址:http://www.cnblogs.com/yibinboy/archive/2008/10/05/1304135.html

 

 

 

相关文章:

  • 2021-06-10
猜你喜欢
  • 2022-01-11
  • 2022-12-23
  • 2021-08-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案