I want to add a simple confirm, are you sure dialog when you click an asp:button which does postback. Something like:
OnClientClick="if(confirm('Format the hard disk?'))
alert('something');
else alert('something else')"
Problem is that whether you click ok or cancel it still posts back. How to make it so that it only posts back on OK?