摘要:
页面提交时,由于处理时间可能较长,用户反复点击按钮提交可能造成意外结果。防止按钮重复提交在page_load中对按钮注册如下代码:this.Button2.Attributes["onclick"] = this.Page.ClientScript.GetPostBackEventReference(this.Button2,"") + ";this.disabled=true;"; //Butt... 阅读全文
posted @ 2009-12-14 16:54
部落格
阅读(211)
评论(0)
推荐(0)
浙公网安备 33010602011771号