disable postback button aspnet code example
Example: prevent asp button from postback
<asp:button runat="server".... OnClientClick="myfunction(); return false;" />
<asp:button runat="server".... OnClientClick="myfunction(); return false;" />