Back to Questions

What is Cross Page Posting? How is it done?

Your Answer

  • 12/18/2012 3:44:46 PM
  • Biju
  • 1

What is Cross Page Posting? How is it done?

By default, ASP.NET submits a form to the same page. In cross-page posting, the form is submitted to a different page. This is done by setting the ‘PostBackUrl’ property of the button(that 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.

  • 12/18/2012 3:45:05 PM
  • test

Back to Questions