WebPartManager::LoadControlState Method (Object^)
.NET Framework (current version)
Loads control state data that was saved from a previous page request, and needs to be restored on a subsequent request.
Assembly: System.Web (in System.Web.dll)
Parameters
- savedState
-
Type:
System::Object^
Contains the persisted state data to be loaded.
| Exception | Condition |
|---|---|
| ArgumentException | savedState is not a valid ControlState. |
The LoadControlState method is helpful for restoring property data that should be persisted across postbacks of a page, even when the EnableViewState property is set to false.
.NET Framework
Available since 2.0
Available since 2.0
Show: