Created
July 20, 2011 17:47
-
-
Save pau/1095475 to your computer and use it in GitHub Desktop.
ASP.NET Hack to Prevent Double Page Submission
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<asp:Button ID="btnSubmit" runat="server" Text="Submit" OnClientClick="this.disabled=true;" UseSubmitBehavior="false" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment