Bewerken

Delen via


WebPartManager.SaveControlState Method

Definition

Saves state data for the WebPartManager control so the data can be restored on future request to the Web page that contains the control.

protected public:
 override System::Object ^ SaveControlState();
protected internal override object SaveControlState ();
override this.SaveControlState : unit -> obj
Protected Friend Overrides Function SaveControlState () As Object

Returns

An Object to contain the control's saved state data.

Remarks

The SaveControlState method saves state data for properties that should be persisted across page postbacks, even when the EnableViewState property is set to false.

Applies to