I got this awesome tip from one of the Starter Kits. The
following code will disable the Button control and display the please wait
message until the page is refreshed. It is simple, clean and beautiful! Check
out the code below:
this.MyButton.Attributes.Add("onclick", "this.value='Please wait...'
;this.disabled = true;" + ClientScript
.GetPostBackEventReference(this.MyButton, ""));
powered by IMHO 1.3