Mon
11
Feb '08
Button1.Attributes.Add(“onclick”, ClientScript.GetPostBackEventReference(Button1,“”) + “;
this.value=’Please wait…’;this.disabled = true;”);
If you check the source after rendering, it will look like this:
onclick=“__doPostBack(’Button1′,'’);this.value=’Please wait…’;this.disabled = true;” 
Leave a passing comment »