Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HiddenFieldPageStatePersister::Save Method

Serializes any object state contained in the ViewState or ControlState property and writes the state to the response stream.

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

public:
virtual void Save() override

The HiddenFieldPageStatePersister implements the Save method to persist page and control state to a client by writing it to a <hidden> HTML element in the outgoing response to the client. The ObjectStateFormatter object accessed by the StateFormatter property is used to deserialize the data.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft