WebPartManager::SaveControlState Method ()

 

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)

public protected:
virtual Object^ SaveControlState() override

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
Show: