Link to home
Start Free TrialLog in
Avatar of knobloch
knobloch

asked on

asp.net form action

how to use form action redirect to other page for processing?
Avatar of arif_eqbal
arif_eqbal


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'
Avatar of knobloch

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of arif_eqbal
arif_eqbal

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial