21 lines
1.5 KiB
Markdown
21 lines
1.5 KiB
Markdown
|
---
|
||
|
title: "[How Do I:] Implement a Cross Page PostBack in ASP.NET | Microsoft Docs"
|
||
|
author: rick-anderson
|
||
|
description: "In this video Chris Pels shows how to create a Cross Page PostBack in ASP.NET, where a control on a source page raises a PostBack event to a different target..."
|
||
|
ms.author: aspnetcontent
|
||
|
manager: wpickett
|
||
|
ms.date: 07/10/2008
|
||
|
ms.topic: article
|
||
|
ms.assetid: cd88fa45-8f51-48f5-b642-5021acddec40
|
||
|
ms.technology: dotnet-webforms
|
||
|
ms.prod: .net-framework
|
||
|
msc.legacyurl: /web-forms/videos/how-do-i/how-do-i-implement-a-cross-page-postback-in-aspnet
|
||
|
msc.type: video
|
||
|
---
|
||
|
[How Do I:] Implement a Cross Page PostBack in ASP.NET
|
||
|
====================
|
||
|
by [Chris Pels](https://twitter.com/chrispels)
|
||
|
|
||
|
In this video Chris Pels shows how to create a Cross Page PostBack in ASP.NET, where a control on a source page raises a PostBack event to a different target page. First, learn how to configure a Button control to PostBack to a different target page. Then, learn how to get information from controls on the source page with the PreviousPage property and the FindControl method. Then, learn how to use public properties on the source page to expose data to the target page, and learn how to use the @PreviousPageType directive on the target page to access these properties. Finally, learn the difference between a Cross Page PostBack and the Server.Transfer method.
|
||
|
|
||
|
[▶ Watch video (29 minutes)](https://channel9.msdn.com/Blogs/ASP-NET-Site-Videos/how-do-i-implement-a-cross-page-postback-in-aspnet)
|