Returns an object that is used by the Web page to maintain the control and view states.
Assembly: System.Web (in System.Web.dll)
The PageStatePersister property uses the method to return the object, derived from the PageStatePersister class, that forms and extracts the combined control and view states for the page. If there is no derived page adapter attached to the page, a HiddenFieldPageStatePersister object is used to maintain the state in a hidden field on the page.
Code Entity Reference,cer
Code Entity Reference Qualified, cerq
Code Entity Reference Specific,cers
Code Entity Reference Qualified Specific, cerqs
When you inherit from the PageAdapter class, you can override the method to return another derived page state persister if it is not feasible to maintain the combined state in a hidden field (for example, because of limited resources).
Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.