System.Web.UI.Page.PreviousPage Property

Gets the page that transferred control to the current page.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Browsable(false)]
public Page PreviousPage { get; }

Value

Documentation for this section has not yet been entered.

Remarks

When you use the System.Web.HttpServerUtility.Transfer(string) method or use 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 can use the Page.PreviousPage property to access that information.

If the current page is being rendered as a result of a direct request (not a transfer or cross-post from another page), the Page.PreviousPage property contains null.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0