form submit

  • Thread starter Thread starter SAI
  • Start date Start date
S

SAI

In traditional webpage, we use "form submit" (post or get) to submit value
between 2 pages. In asp dotnet, the submit button provide the event to do it
so I can submit the form. But, how to submit to another page? e.g. Page A to
Page B. Thanks.
 
In traditional webpage, we use "form submit" (post or get) to submit value
between 2 pages. In asp dotnet, the submit button provide the event to do it
so I can submit the form. But, how to submit to another page? e.g. Page A to
Page B. Thanks.
One way is via Server.Tranfer.
 
SAI said:
In traditional webpage, we use "form submit" (post or get) to submit
value between 2 pages. In asp dotnet, the submit button provide the
event to do it so I can submit the form. But, how to submit to
another page? e.g. Page A to Page B. Thanks.

In ASP.NET, a form submits to itself by default.
In the ASP.NET environment, this is usually what you want.

Submitting from page A to page B will be supported in ASP.NET 2.0.

You can work around it by using Server.Transfer, as posted by intrader.

Riki
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top