Disable a button control during postback.
ASP.NET, UI By Dave Ward on April 17th, 2007Postback Ritalin has been getting a lot of search hits intended to find a button disable technique for full .NET postbacks. So, this example is for all of you searching for a non-AJAX solution.
The trick is to use the OnClientClick and UseSubmitBehavior properties of the button control. There are other methods, involving code on the server side to add attributes, but I think the simplicity of doing it this way is much more attractive:

“Click here to download this report in Excel (CSV) format.”
I noticed that a lot of people found my