HiddenFieldPageStatePersister.Save Method

Definition

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

public:
 override void Save();
public override void Save ();
override this.Save : unit -> unit
Public Overrides Sub Save ()

Remarks

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.

Applies to

See also