asp.net button prevent 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;" />