SyntaxFix
Write A Post
Hire A Developer
Questions
With ASP.NET just use UseSubmitBehavior="false" in your ASP.NET button:
UseSubmitBehavior="false"
<asp:Button ID="btnButton" runat="server" Text="Button" onclick="btnButton_Click" UseSubmitBehavior="false" />
Reference: Button.UseSubmitBehavior Property