Andrew Connell

Posting form data from ASP.NET page to another URL

[Via ASP.NET Daily Articles ]

All of us have had the situation come across where you need to not use the PostBack, but instead have an ASP.NET page POST a form submission to a different page/URL. This article outlines how to do it.

Sometime you need to post a form to an different url from pages, for example you might need to send user to third party payment processing system using post method, does not provide any straight forward way to accomplish this task.

Problem which most users faces with server side form in aspx page are, you are not allowed to change action of form and you are allowed to use only one server side form per page.

ยป : Posting form data from ASP.NET page to another URL

Andrew Connell
Developer & Chief Course Artisan, Voitanos LLC. | Microsoft MVP
Written by Andrew Connell

Andrew Connell is a web developer with a focus on Microsoft Azure & Microsoft 365. He’s received Microsoft’s MVP award every year since 2005 and has helped thousands of developers through the various courses he’s authored & taught. Andrew’s the founder of Voitanos and is dedicated to delivering industry-leading on-demand video training to professional developers. He lives with his wife & two kids in Florida.