HTML 4.0 buttons
So I found out the hard way today that HTML 4.0 buttons raise click events no matter what posted the form back… which obviously caused quite a few problems. I think i traced it down to the fact that html buttons send the contents between the tags on every submit and ASP.NET detects if a clicked event occurs on a button by parsing the Params collection looking to see if the button’s name exists… since it does it’s firing it….. this method works ok if your using regular html input buttons (which only sends the name of the clicked button) but totally flakes out for vanilla buttons.
I would rather they remove the ServerClick event from the HtmlButton object rather than include it and have it work only in special instances (i.e. when no other element will be posting back).
