Note: This property is new in the .NET Framework version 2.0.
Gets the page that transferred control to the current page.
Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)
Visual Basic (Declaration)
Public ReadOnly Property PreviousPage As Page
Dim instance As Page
Dim value As Page
value = instance.PreviousPage
public Page PreviousPage { get; }
public:
property Page^ PreviousPage {
Page^ get ();
}
/** @property */
public Page get_PreviousPage ()
public function get PreviousPage () : Page
Property Value
The Page representing the page that transferred control to the current page.
When you use the Transfer method or cross-page posting to transfer processing from one ASP.NET page to another, the originating page contains request information that might be required for the destination page. You use the PreviousPage property to access that information
The PreviousPage property is a null reference (Nothing in Visual Basic) when the user requests that page directly from the server.
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
.NET Framework
Supported in: 2.0