Solved

asp.net form action

Posted on 2004-09-29
3
293 Views
Last Modified: 2010-04-23
how to use form action redirect to other page for processing?
0
Comment
Question by:knobloch
  • 2
3 Comments
 
LVL 19

Expert Comment

by:arif_eqbal
ID: 12187064

Use
Server.Transfer(URL)
or
Response.Redirect(URL)

And in case you want that the form is not PostedBack i.e. on click of Submit it should go to a new page then switch to the HTML editor in the SDK and in the Form Tag add

Action='URL'
0
 

Author Comment

by:knobloch
ID: 12194922
Acturally, I want the <form action> like the regular html <form action> behave, which are name attruble, value attruble, type attruble, input, ect... the action attruble behave will forward the form with controls or contains to other site for processing.
The server.transfer or redirect is redirect to other web page, it doesn't forward with form controls or contains to other web site for processing.
I have a work around, which is build a string with html form attrubles and values using response.write to transter form contrains to other web site for processing.
This may not be the good way, but it works.
0
 
LVL 19

Accepted Solution

by:
arif_eqbal earned 500 total points
ID: 12197356
Well that's OK
However you have full control over the generated HTML
You can as I said switch to the HTML Editor and modify the code to add whatever Action Tag permissible in HTML.

0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question