ASP to ASP.NET conversion question

Discussion in 'ASP .Net' started by Framework fan, Apr 10, 2004.

  1. Hi,

    What is the .NET equivalent of the following classic ASP please

    <form id="Form1" method="post" action="http://www.domain.com">
    <INPUT name="ThisGetsPostedToDomainAbove">
    <INPUT id="MyButton" type="submit" value="Click here">
    </form>

    In the above example, this non server side form will post the
    information contained in the input field named
    ThisGetsPostedToDomainAbove when the button called MyButton is
    clicked.

    Thanks.
     
    Framework fan, Apr 10, 2004
    #1
    1. Advertising

  2. Framework fan

    Jos Guest

    "Framework fan" <> wrote in message
    news:...
    > Hi,
    >
    > What is the .NET equivalent of the following classic ASP please
    >
    > <form id="Form1" method="post" action="http://www.domain.com">
    > <INPUT name="ThisGetsPostedToDomainAbove">
    > <INPUT id="MyButton" type="submit" value="Click here">
    > </form>
    >
    > In the above example, this non server side form will post the
    > information contained in the input field named
    > ThisGetsPostedToDomainAbove when the button called MyButton is
    > clicked.


    Since your form is not ASP-specific (it contains no code), you can
    use exactly the same form in ASP.NET.

    However, the page that handles your input (at www.domain.com) will differ.

    --

    Jos
     
    Jos, Apr 10, 2004
    #2
    1. Advertising

  3. Hi Jos,

    >>However, the page that handles your input (at www.domain.com) will differ.


    I have no control over the page at www.domain.com.

    Please could you suggest an alternative, as I can't change what is at domain.com

    Many thanks.


    "Jos" <> wrote in message news:<>...
    > "Framework fan" <> wrote in message
    > news:...
    > > Hi,
    > >
    > > What is the .NET equivalent of the following classic ASP please
    > >
    > > <form id="Form1" method="post" action="http://www.domain.com">
    > > <INPUT name="ThisGetsPostedToDomainAbove">
    > > <INPUT id="MyButton" type="submit" value="Click here">
    > > </form>
    > >
    > > In the above example, this non server side form will post the
    > > information contained in the input field named
    > > ThisGetsPostedToDomainAbove when the button called MyButton is
    > > clicked.

    >
    > Since your form is not ASP-specific (it contains no code), you can
    > use exactly the same form in ASP.NET.
    >
    > However, the page that handles your input (at www.domain.com) will differ.
     
    Framework fan, Apr 11, 2004
    #3
    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. Tony
    Replies:
    0
    Views:
    541
  2. =?Utf-8?B?Qm9i?=
    Replies:
    2
    Views:
    412
    =?Utf-8?B?Qm9i?=
    Jan 30, 2006
  3. Bonggoy Cruz
    Replies:
    7
    Views:
    4,040
    =?Utf-8?B?RHVzdGluIHZhbiBkZSBTYW5kZSBbTUNBRF0=?=
    Apr 14, 2006
  4. pb
    Replies:
    4
    Views:
    1,646
    Juan T. Llibre
    Jun 6, 2007
  5. , India
    Replies:
    2
    Views:
    500
    Fraser Ross
    Sep 15, 2009
Loading...

Share This Page