Επεξεργασία

Κοινή χρήση μέσω


Page.PageStatePersister Property

Definition

Gets the PageStatePersister object associated with the page.

protected:
 virtual property System::Web::UI::PageStatePersister ^ PageStatePersister { System::Web::UI::PageStatePersister ^ get(); };
protected virtual System.Web.UI.PageStatePersister PageStatePersister { get; }
member this.PageStatePersister : System.Web.UI.PageStatePersister
Protected Overridable ReadOnly Property PageStatePersister As 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.

Applies to

See also