Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Page.PageStatePersister Property

Gets the PageStatePersister object associated with the page.

Namespace:  System.Web.UI
Assembly:  System.Web (in System.Web.dll)
protected virtual PageStatePersister PageStatePersister { get; }

Property Value

Type: System.Web.UI.PageStatePersister
A PageStatePersister associated with the page.

HTTP requests and responses are inherently stateless. To maintain state between HTTP requests, ASP.NET server pages can store Page state. This state, called view state, consists of page and control settings and data that make the page and controls appear as if they are the same ones that the user saw and interacted with on their last round trip to the page. Several mechanisms exist to store view state between successive requests to the same page. The abstract PageStatePersister class represents the base class for these state storage mechanisms.

Page developers will typically not need to use the PageStatePersister property. The PageStatePersister property is used primarily by control developers extending the functionality of the Page class.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.