Sign Up Now!Log In
steve gray 8/9/2011 7:05:02 AM

Disabling buttons on click in ASP.NET

We have all seen the websites that disable "submit" buttons when you click on them. This is often done to prevent users from clicking the button multiple times.
Normally this is accomplished using an 'onclick' JavaScript event to disable the button. In ASP.NET, each server side item already has a onclick event handler which calls the server back for event processing.

To accomplish the same thing in ASP.NET, you could easily do:


Version: Unknown or N/A
Section: .NET Development