Something that bugged me for ages in asp.net was how to prevent an asp.net button from automatically doing a postback.

To prevent a postback occuring simply make the OnClientClick event return false like this:

<asp:Button ID="button" runat="server" OnClientClick='return false' />
Need to find a lawyer for your business? Get in touch with my company Lexoo and we'll find you a great one for free.