RE: Invoke code behind image-button with <Enter> key from anywhere on
- From: se-marten <se-marten@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 14 Jul 2005 18:32:01 -0700
"Paul W" wrote:
> 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.
>
>
>
.
- Follow-Ups:
- Re: Invoke code behind image-button with <Enter> key from anywhere on
- From: Daniel Walzenbach
- Re: Invoke code behind image-button with <Enter> key from anywhere on
- Prev by Date: Re: real-life support for macs?
- Next by Date: question to marketing
- Previous by thread: real-life support for macs?
- Next by thread: Re: Invoke code behind image-button with <Enter> key from anywhere on
- Index(es):