submit form data concept

Discussion in 'ASP .Net' started by Matt, Aug 20, 2004.

  1. Matt

    Matt Guest

    When people say submit the form data, does it mean the form data are
    submitted to web browser using either HTTP GET or POST method, and then it
    will redirect to another page.

    For example, this is page1.aspx

    <form action="page2.aspx" method="post">

    means it will submit the page1.aspx form data to the web server, and then
    redirect from page1.aspxto page2.aspx?

    please clarify. thanks!!
    Matt, Aug 20, 2004
    #1
    1. Advertising

  2. Hi,

    1. Submit page data to the page specified in <form action="somepage"> tag
    which resides on the web server.

    2. With ASP.NET, you cannot post page data to someother page i.e., <form
    action="somepage"> will not be considered. ASP.NET will always post to
    itself.

    3. If you want to post data to someother page then you must remove
    "runat=server" attribute from <form> tag (this will make it behave like a
    normal html form element)

    4. With ASP.NET 2.0 (beta 1 is available), it is possible to post data to
    other pages.

    Regards,
    Shamir
    =?Utf-8?B?U2hhbWly?=, Aug 20, 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. submit the form concept

    , Nov 18, 2005, in forum: ASP .Net
    Replies:
    5
    Views:
    597
    Tad McClellan
    Nov 18, 2005
  2. Matt

    submit form data concept

    Matt, Aug 20, 2004, in forum: HTML
    Replies:
    2
    Views:
    387
    Leif K-Brooks
    Aug 20, 2004
  3. Matt

    submit form data concept

    Matt, Aug 20, 2004, in forum: ASP General
    Replies:
    3
    Views:
    125
    Jeff Cochran
    Aug 20, 2004
  4. submit the form concept

    , Nov 18, 2005, in forum: ASP General
    Replies:
    4
    Views:
    267
    Tad McClellan
    Nov 18, 2005
  5. submit the form concept

    , Nov 18, 2005, in forum: Perl Misc
    Replies:
    9
    Views:
    322
    Tad McClellan
    Nov 18, 2005
Loading...

Share This Page