There’s a funny bug in Internet Explorer that causes it to not send FirstButtonName=FirstButtonValue as a form value when there is only 1 input type=’text’ on the page. This results in the ASP.NET Button controls not firing their Click or Command events.
Now I’ve spotted a few workarounds to this problem before, but they all involve javascript. Not very elegant, and doesn’t help those with no script.
The work around I have come up with is to add a hidden text field just after the
Thanks a lot! I thought I’d go mad when I couldn’t figure out what’s wrong with my page, but now I understand that it is thanks to the guys in Redmond. How did you ever find out what’s causing it?//Vince
Holy crap! Who would ever have thought of that. I was going crazy until I found your post. My situation was the very common one of having a single text search box and a “Go” button….Get a grip Microsoft! People don’t want to hit the button, they want to hit the Enter key!!