There are times when our applications might take an extra
few seconds to respond to a click event. Some users might get impatient and
click on the button more than once. We can easily avoid this type of situation
by disabling the submit button during PostBack on the page by using a
client-side script. In this article, I will share with everyone on how to:
1.
Disable a button during PostBack with or without the present of a
validation control.
2.
Change button text value during PostBack.
3.
Include an AJAX loading background image during PostBack.
4.
How to avoid the 'Page_IsValid is undefined' or ' Page_Validators is not
defined' JavaScript error.