.NET Framework Class Library
Page.PageStatePersister Property

Note: This property is new in the .NET Framework version 2.0.

Gets the PageStatePersister object associated with the page.

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

Syntax

Visual Basic (Declaration)
Protected Overridable ReadOnly Property PageStatePersister As PageStatePersister
Visual Basic (Usage)
Dim value As PageStatePersister

value = Me.PageStatePersister
C#
protected virtual PageStatePersister PageStatePersister { get; }
C++
protected:
virtual property PageStatePersister^ PageStatePersister {
    PageStatePersister^ get ();
}
J#
/** @property */
protected PageStatePersister get_PageStatePersister ()
JScript
protected function get PageStatePersister () : PageStatePersister

Property Value

A PageStatePersister associated with the page.
Remarks

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.

Platforms

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Version Information

.NET Framework

Supported in: 2.0
See Also

Tags :


Page view tracker