RE: Invoke code behind image-button with <Enter> key from anywhere on

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance





"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.
>
>
>
.



Relevant Pages

  • Re: Invoke code behind image-button with key from anywhere on
    ... event of your password input field which will trigger the ok.click. ... >> Suddenly this has stopped working like this. ... >> seemed to break it was to replace the Textbox webcontrol that I used for ... >> 'Username' field with a Dropdown webcontrol. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: OWA has suddenly stopped working
    ... Ensure that your username and password are correct, ... OWA has also suddenly stopped working for me. ... I do not receive the password prompt, ...
    (microsoft.public.windows.server.sbs)
  • Re: WSE 2.0 - Security token could not be authenticated or authorized
    ... > Paul, it might be that you have the username wrong. ... >> account in the Windows SAM. ... >> working first then I'll go back to debugging my custom auth function. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: VPN keeps asking for username and password
    ... However, recently, it has stopped working. ... Anytime a user tries to connect via VPN he gets to the stage where it says verifying username and password, but then gets the message "windows was unable to connect to the network using the username and password you provided. ... This problem has just recently started happening and is happening to all remote users. ... Do your local or remote routers offer any logging facilities? ...
    (microsoft.public.windows.server.sbs)
  • Re: OWA has suddenly stopped working
    ... For some reason OWA has stopped working. ... Ensure that your username and password are correct, ... When I look at Exchange Features in AD, it says "Outlook web access: ...
    (microsoft.public.windows.server.sbs)