WebPartManager.SaveControlState Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

protected internal override object SaveControlState()

Return Value

Type: System.Object

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

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

.NET Framework
Available since 2.0
Return to top