Multiple Buttons on one page

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • vcuankitdotnet

    Multiple Buttons on one page

    I have two user controls on the same .aspx page, each with a form and
    a button to submit the form. The user has the option to submit either
    form. Once the user hits the ENTER button on their keyboard, the
    button on the first user control rendered is the one that gets
    clicked, thus submitting a blank form.

    Is there a way to submit the form the user is filling out? Is this
    something that should just be solved using some javascript?
  • Michael Nemtsev [MVP]

    #2
    Re: Multiple Buttons on one page

    Hello vcuankitdotnet,

    could you explain your problem in details, not quite understand what u wanna
    get.
    With the sample code, ideally

    ---
    WBR,
    Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

    "The greatest danger for most of us is not that our aim is too high and we
    miss it, but that it is too low and we reach it" (c) Michelangelo


    vI have two user controls on the same .aspx page, each with a form and
    va button to submit the form. The user has the option to submit either
    vform. Once the user hits the ENTER button on their keyboard, the
    vbutton on the first user control rendered is the one that gets
    vclicked, thus submitting a blank form.
    v>
    vIs there a way to submit the form the user is filling out? Is this
    vsomething that should just be solved using some javascript?
    v>


    Comment

    Working...