Save Method
Collapse the table of content
Expand the table of content

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 override void Save()

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
Available since 2.0
Return to top
© 2015 Microsoft