在page_load中加入:
this.BtnLogin.Attributes["onclick"] = this.GetPostBackEventReference(this.BtnLogin)
+ ";this.disabled='disabled'";
注意:需要保证每次都执行,所有不能在postBack中
在page_load中加入:
this.BtnLogin.Attributes["onclick"] = this.GetPostBackEventReference(this.BtnLogin)
+ ";this.disabled='disabled'";
注意:需要保证每次都执行,所有不能在postBack中