---
title: "What is Cross Page Posting? How is it done?"  
description: "What is Cross Page Posting? How is it done?"  
author: "Anonymous User"  
published: 2018-03-14  
updated: 2020-09-23  
canonical: https://www.mindstick.com/interview/23351/what-is-cross-page-posting-how-is-it-done  
category: "asp.net"  
tags: ["asp.net", "webforms"]  
reading_time: 2 minutes  

---

# What is Cross Page Posting? How is it done?

In Asp.net By default,asp.net Web form submits a form to the same page.Cross-Page Posting in ASP.NET Web Forms. By default, on an ASP.NET Web Forms page, buttons and other controls that cause a postback submit the page back to itself. In cross-page posting, the form is submitted to a different page.

This is done by setting the ‘PostBackUrl’ property of the button causes postback to the desired page. In the code-behind of the page to which the form has been posted, use the ‘FindControl’method of the ‘PreviousPage’ property to reference the data of the control in the first page.

## Answers

### Answer by Anonymous User

In Asp.net By default,asp.net Web form submits a form to the same page.Cross-Page Posting in ASP.NET Web Forms. By default, on an ASP.NET Web Forms page, buttons and other controls that cause a postback submit the page back to itself. In cross-page posting, the form is submitted to a different page.

This is done by setting the ‘PostBackUrl’ property of the button causes postback to the desired page. In the code-behind of the page to which the form has been posted, use the ‘FindControl’method of the ‘PreviousPage’ property to reference the data of the control in the first page.


---

Original Source: https://www.mindstick.com/interview/23351/what-is-cross-page-posting-how-is-it-done

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
