VS2005 Focus or Default Button

Discussion in 'ASP .Net' started by TCORDON, Nov 9, 2005.

  1. TCORDON

    TCORDON Guest

    I have a Login usercontrol that I place in many pages in my project, the
    quiestion is, did Microsoft do something in VS2005 to help provide a default
    button for a form ( so that this button's click event is ran when a user
    presses the enter key anywhere in a form) or does it have to be handled
    another way? if so, how because in this usercontrol if you press the enter
    key in the pwd textbox the codebehind in the first clickable control on the
    form is executed.

    TIA!
    TCORDON, Nov 9, 2005
    #1
    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. Jason
    Replies:
    4
    Views:
    1,587
    Jason
    May 7, 2007
  2. Replies:
    2
    Views:
    325
    Thomas 'PointedEars' Lahn
    Jun 6, 2005
  3. Roger
    Replies:
    3
    Views:
    303
  4. Jeff

    manual focus vs. focus()

    Jeff, May 20, 2007, in forum: Javascript
    Replies:
    4
    Views:
    169
  5. Button Default Focus

    , Mar 4, 2008, in forum: Javascript
    Replies:
    0
    Views:
    65
Loading...

Share This Page