Solved

asp.net form action

Posted on 2004-09-29
3
276 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
Comment Utility

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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

743 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now