Any way to include an HTML form with server-side controls?

Discussion in 'ASP .Net Building Controls' started by paul.hester@gmail.com, Sep 5, 2006.

  1. Guest

    Hi all,

    I have a page with a mutli view control where one of the views needs to
    contain a separate HTML get form with a submit button that goes to
    another page. In ASP this was no problem - there was no container form
    and it just went to the target page. In ASP .NET however, there is a
    container form and having an embedded form breaks the page. Adding
    another server-side form just gets the "A page can have only one
    server-side Form tag" runtime error.

    I need to have some server-side logic in the HTML form to determine
    whether it is displayed or not. I can use the same form and catch the
    server-side Click event for the other button, but that relies on
    javascript to wire up a default button for the main form.

    How can I achive this in .NET *without using javascript*?

    Thanks,

    Paul
    , Sep 5, 2006
    #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. Paul
    Replies:
    4
    Views:
    551
    Laurent Bugnion
    Sep 5, 2006
  2. Replies:
    2
    Views:
    339
  3. Deane
    Replies:
    3
    Views:
    1,161
    Deane
    Aug 1, 2007
  4. Andreas Bogenberger
    Replies:
    3
    Views:
    877
    Andreas Bogenberger
    Feb 22, 2008
  5. Replies:
    0
    Views:
    97
Loading...

Share This Page