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