sean168

 

防止重复提交

在Page_Load事件里面加入  
  this.btnTest.Attributes["onclick"]   =   "this.disabled=true;"   +   this.GetPostBackClientEvent(this.btnTest,   "");  
  其中btnText为按钮的ID

posted on 2006-07-26 17:57  sean168  阅读(94)  评论(0)    收藏  举报

导航