Skip to content

Instantly share code, notes, and snippets.

@pau
Created July 20, 2011 17:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pau/1095475 to your computer and use it in GitHub Desktop.
Save pau/1095475 to your computer and use it in GitHub Desktop.
ASP.NET Hack to Prevent Double Page Submission
<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