System.Web.UI.Adapters.PageAdapter.GetStatePersister Method

Returns an object that is used by the Web page to maintain the control and view states.

Syntax

public virtual System.Web.UI.PageStatePersister GetStatePersister ()

Returns

An object derived from System.Web.UI.PageStatePersister that supports creating and extracting the combined control and view states for the System.Web.UI.Page.

Remarks

The System.Web.UI.Page.PageStatePersister property uses the PageAdapter.GetStatePersister method to return the object, derived from the System.Web.UI.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 System.Web.UI.HiddenFieldPageStatePersister object is used to maintain the state in a hidden field on the page.

Code Entity Reference,cer

char.ToString(char)

Code Entity Reference Qualified, cerq

char.ToString(char)

Code Entity Reference Specific,cers

char.ToString(char)

Code Entity Reference Qualified Specific, cerqs

char.ToString(char)

Requirements

Namespace: System.Web.UI.Adapters
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0