problem with default button pressed on ASPX page.

Discussion in 'ASP .Net' started by Milsnips, Dec 2, 2004.

  1. Milsnips

    Milsnips Guest

    hi there,

    i got 2 textboxes and 2 buttons..both are search input and search buttons..

    when i have focus of the 2nd textbox and i press enter, it always fires the
    event for the 1st button.

    Help?????
    Paul.
     
    Milsnips, Dec 2, 2004
    #1
    1. Advertising

  2. Milsnips

    John M Deal Guest

    Here's link to a metabuilder's article/sample that will allow you to set
    the button that a specific text box will trigger.

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

    Have A Better One!

    John M Deal, MCP
    Necessity Software

    Milsnips wrote:
    > hi there,
    >
    > i got 2 textboxes and 2 buttons..both are search input and search buttons..
    >
    > when i have focus of the 2nd textbox and i press enter, it always fires the
    > event for the 1st button.
    >
    > Help?????
    > Paul.
    >
    >
     
    John M Deal, Dec 2, 2004
    #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. Rune
    Replies:
    6
    Views:
    1,268
    Richie Hindle
    Jan 29, 2004
  2. Ed Sutton
    Replies:
    1
    Views:
    435
    Cowboy \(Gregory A. Beamer\)
    Sep 15, 2006
  3. AlecL
    Replies:
    2
    Views:
    824
    Alexey Smirnov
    Feb 12, 2007
  4. Chuck
    Replies:
    0
    Views:
    270
    Chuck
    Nov 10, 2003
  5. Replies:
    1
    Views:
    161
Loading...

Share This Page