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

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

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:
    503
  2. msnews.microsoft.com
    Replies:
    5
    Views:
    978
    Steve C. Orr [MVP, MCSD]
    Apr 23, 2005
  3. Arjen
    Replies:
    0
    Views:
    656
    Arjen
    Jun 6, 2005
  4. The Colonel
    Replies:
    2
    Views:
    471
    The Colonel
    Jul 5, 2006
  5. =?Utf-8?B?am1obWFpbmU=?=

    PasswordRecovery Control - Control Random Password Characters

    =?Utf-8?B?am1obWFpbmU=?=, Dec 31, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    895
    rodean
    Feb 15, 2008
  6. Replies:
    4
    Views:
    455
    Andrew Thompson
    Sep 18, 2007
  7. Yash
    Replies:
    1
    Views:
    385
    Eliyahu Goldin
    Oct 25, 2007
  8. JJ

    Multiple Round Trips

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