Cross-page posting

Illustrate cross-page posting in an ASP.NET and the function of Server.Transfer() method?

E

Expert

Verified

In cross page posting, data is collected from different Web pages and is put on a single page. For this, we need to set a PostBackUrl property of control that specifies a target page. In a target page, we can access a PreviousPage property. To do so, we need to use a @PreviousPageType directive. We can access controls of the previous page by using a FindControl() method.

Server.Transfer() method is used to post data from one page to a different. The URL remains the same.

   Related Questions in DOT NET Programming

©TutorsGlobe All rights reserved 2022-2023.