Web page - form action

Discussion in 'ASP .Net' started by =?Utf-8?B?S2F0ZXJnYXJpcw==?=, Jul 13, 2006.

  1. I have a web page in which there are two buttons that postback the page.
    How can i simulate the action of pressing a button with pressing key enter,
    and the action(which button is "pressed") that takes place depends on which
    button is closer to the last control that had the focus.

    I would appreciate any help.

    Thanks
     
    =?Utf-8?B?S2F0ZXJnYXJpcw==?=, Jul 13, 2006
    #1
    1. Advertisements

  2. =?Utf-8?B?S2F0ZXJnYXJpcw==?=

    Hans Kesting Guest

    > I have a web page in which there are two buttons that postback the page.
    > How can i simulate the action of pressing a button with pressing key enter,
    > and the action(which button is "pressed") that takes place depends on which
    > button is closer to the last control that had the focus.
    >
    > I would appreciate any help.
    >
    > Thanks


    See "DefaultButtons" from MetaBuilders.

    http://www.metabuilders.com/Tools/DefaultButtons.aspx


    Hans Kesting
     
    Hans Kesting, Jul 13, 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. =?Utf-8?B?TWljaGVsZQ==?=

    More action-form for the same form

    =?Utf-8?B?TWljaGVsZQ==?=, Dec 10, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    972
    Juan T. Llibre [MVP]
    Dec 10, 2004
  2. Joe Bloggs
    Replies:
    1
    Views:
    1,348
    Sudsy
    Aug 3, 2003
  3. Duncan
    Replies:
    0
    Views:
    1,755
    Duncan
    Feb 24, 2006
  4. John
    Replies:
    0
    Views:
    1,218
  5. Jack
    Replies:
    9
    Views:
    254
    Scott McNair
    Dec 23, 2004
  6. Replies:
    7
    Views:
    871
  7. Replies:
    2
    Views:
    347
  8. Bosconian
    Replies:
    4
    Views:
    583
    Bosconian
    Dec 3, 2006
Loading...