P
Paul W
On my simple login-screen I have a 'username' and 'password' field and an
imagebutton for the 'OK'.
This used to work nicely so that when the user hit <Enter> from the password
field, it invoked the VB code behind the image-button, and away he went.
Suddenly this has stopped working like this. It still works if you use the
mouse to click on the button, or first TAB to it, then click <Enter>.
However, if you now hit <Enter> with the cursor still in the 'password'
field it submits the form, runs Page_Load, but doesn't call the
image-button's click event.
A 'working' version is at
http://www.mystictennisbookings.com/admin/login.aspx . FYI - what I did that
seemed to break it was to replace the Textbox webcontrol that I used for the
'Username' field with a Dropdown webcontrol.
Any ideas how I can restore the required functionality? Thanks,
Paul.
imagebutton for the 'OK'.
This used to work nicely so that when the user hit <Enter> from the password
field, it invoked the VB code behind the image-button, and away he went.
Suddenly this has stopped working like this. It still works if you use the
mouse to click on the button, or first TAB to it, then click <Enter>.
However, if you now hit <Enter> with the cursor still in the 'password'
field it submits the form, runs Page_Load, but doesn't call the
image-button's click event.
A 'working' version is at
http://www.mystictennisbookings.com/admin/login.aspx . FYI - what I did that
seemed to break it was to replace the Textbox webcontrol that I used for the
'Username' field with a Dropdown webcontrol.
Any ideas how I can restore the required functionality? Thanks,
Paul.