Author: dsavill | Posted on: 6/26/2006 3:38:06 PM | Views : 1189

Hello all,

I seem to have encountered an interesting bug when using the asp:panel's defaultbutton property.  The default button works great the first time the enter key is pressed.  However, if the user presses the enter key a second time without changing focus, the default button does not fire correctly (and in my case, it defaults to the first button on the page, which happens to be the logout button - similar to the IE default enter submit bug where it defaults to the first button in the form if enter is pressed anywhere on the page.)

Has anyone else encountered this bug? I've been searching the internet for a few hours now and haven't come up with any solutions.  Suggestions?
...

Go to the complete details ...