PasswordRecovery control trips Login control's validation

Discussion in 'ASP .Net' started by The Colonel, Jul 6, 2006.

  1. The Colonel

    The Colonel Guest

    The controls are on teh same page, which shouldn't be a problem.
    Entering a username and pressing ENTER trips the login control's
    "password required" validator. Clicking SUBMIT works however. Strange.
    The Colonel, Jul 6, 2006
    #1
    1. Advertising

  2. The Colonel

    Guest

    this is to do with the defaultbutton of the form.

    if a user presses enter, the forms default button will act as if it
    were clicked. if you aren't declaring the default button, then it is
    the first button on the form

    not sure of a solution at the moment


    The Colonel wrote:
    > The controls are on teh same page, which shouldn't be a problem.
    > Entering a username and pressing ENTER trips the login control's
    > "password required" validator. Clicking SUBMIT works however. Strange.
    , Jul 6, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mike

    ListBox and round-trips

    Mike, May 4, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    386
  2. msnews.microsoft.com
    Replies:
    5
    Views:
    824
    Steve C. Orr [MVP, MCSD]
    Apr 23, 2005
  3. Replies:
    4
    Views:
    326
    Andrew Thompson
    Sep 18, 2007
  4. Yash
    Replies:
    1
    Views:
    302
    Eliyahu Goldin
    Oct 25, 2007
  5. JJ

    Multiple Round Trips

    JJ, Dec 16, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    131
Loading...

Share This Page