Page.PreviousPage Property
.NET Framework 2.0
Gets the page that transferred control to the current page.
Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
'Declaration Public ReadOnly Property PreviousPage As Page 'Usage Dim instance As Page Dim value As Page value = instance.PreviousPage
/** @property */ public Page get_PreviousPage ()
public function get PreviousPage () : Page
Not applicable.
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.
| Topic | Location |
|---|---|
| How to: Pass Values Between ASP.NET Web Pages | Building ASP .NET Web Applications |
| How to: Determine How ASP.NET Web Pages Were Invoked | Building ASP .NET Web Applications |
| How to: Pass Values Between ASP.NET Web Pages | Building ASP .NET Web Applications |
| How to: Determine How ASP.NET Web Pages Were Invoked | Building ASP .NET Web Applications |
Community Additions
ADD
Show: