January 2008 Blog Posts

IE6 and overzealous button post back

So we all know of IE6 and the problem it can have have when you have multiple submit buttons on a form and you press enter in an edit control. IE6 gets confused over what button should be sent to the server as the submit button. This annoyance is covered here and here. The issue I had recently was that even though I was directly clicking on a button (the search buttonĀ on this page) ASP.NET was firing the code for the final button on the page (which in this instance was a "Finish" button). Once I realised that this is what...