Sounds easy right? Well no....
A server side button's OnClientClick is no good because the form's validation runs after the code assigned to this property is run. This means that you don't know whether the form is actually submitting until its too late so there's no way to know whether to disable the button.
The form's onSubmit is also no good because there's more asp.net framework code running there.
Any ideas?
Cheers, WT.
Web dev - spending forever achieving nothing.