Solved

asp.net form action

Posted on 2004-09-29
3
287 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help with Query not working in client's PC 1 37
Change Format on Data when exporting to Excel 4 34
send messages to whatsapp programatically 2 49
SqlServer no dupes 25 35
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

803 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