Hi guys,
The following code help me to disable asp.net button after click (even the RequiredFieldValidator is triggered)
I am not able to click that button again until i refresh the page. Any advise?
<script type="text/javascript"> function enableButton() { document.getElementById('button').disabled = false; } </script> <asp:Button ID="btn_submit" runat="server" Text="Save" ValidationGroup="save" Width="100" ClientIDMode="Static" OnClientClick="this.disabled = true; setTimeout('enableButton()', 1500);" UseSubmitBehavior="False" />

Go to the complete details ...