Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

asp.net form action

Posted on 2004-09-29
3
Medium Priority
?
309 Views
Last Modified: 2010-04-23
how to use form action redirect to other page for processing?
0
Comment
Question by:knobloch
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1500 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
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…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

721 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