Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Page Property
Collapse the table of content
Expand the table of content

PageStatePersister.Page Property

Gets or sets the Page object that the view state persistence mechanism is created for.

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

protected Page Page { get; set; }

Property Value

Type: System.Web.UI.Page
The Page that the PageStatePersister is associated with.

You can use the Page property to access the current HttpContext object.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft