Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Button Error

Button Error

Scheduled Pinned Locked Moved ASP.NET
csharpjavahelp
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ADY007
    wrote on last edited by
    #1

    Hi, I have a 2 textboxes .. one for the username and one for the password. Now when i try to login, i enter the username then the password and then when i press the ENTER key i wish that the button (Login) will be clicked. But right now when i wrote the user and pass and press the enter key it does not make anything :(

    Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.

    J 1 Reply Last reply
    0
    • A ADY007

      Hi, I have a 2 textboxes .. one for the username and one for the password. Now when i try to login, i enter the username then the password and then when i press the ENTER key i wish that the button (Login) will be clicked. But right now when i wrote the user and pass and press the enter key it does not make anything :(

      Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.

      J Offline
      J Offline
      John Gathogo
      wrote on last edited by
      #2

      Go to the login form and set the AcceptButton property to be the ID of your Login button. You can also set the CancelButton if your login form has one.

      A 1 Reply Last reply
      0
      • J John Gathogo

        Go to the login form and set the AcceptButton property to be the ID of your Login button. You can also set the CancelButton if your login form has one.

        A Offline
        A Offline
        ADY007
        wrote on last edited by
        #3

        hi, i am using asp.net .. i cannot see any acceptbuttons in the property :( .. can you help me please

        Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.

        J 1 Reply Last reply
        0
        • A ADY007

          hi, i am using asp.net .. i cannot see any acceptbuttons in the property :( .. can you help me please

          Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.

          J Offline
          J Offline
          John Gathogo
          wrote on last edited by
          #4

          Confirm whether UseSubmitBehaviour of the button is set to True

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups