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

1.6 KiB

uid title author description ms.author manager ms.date ms.topic ms.assetid ms.technology ms.prod 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 wpickett 07/10/2008 article cd88fa45-8f51-48f5-b642-5021acddec40 dotnet-webforms .net-framework /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)