AspNetCore.Docs/aspnet/web-forms/videos/how-do-i/how-do-i-implement-a-cross-...

1.5 KiB

uid title author description ms.author ms.date ms.assetid msc.legacyurl msc.type
web-forms/videos/how-do-i/how-do-i-implement-a-cross-page-postback-in-aspnet [How Do I:] Implement a Cross Page PostBack in ASP.NET | Microsoft Docs rick-anderson 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... aspnetcontent 07/10/2008 cd88fa45-8f51-48f5-b642-5021acddec40 /web-forms/videos/how-do-i/how-do-i-implement-a-cross-page-postback-in-aspnet video

[How Do I:] Implement a Cross Page PostBack in ASP.NET

by Chris Pels

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)