ConnectionsZone::LoadControlState Method (Object^)

 

Restores control state information from a previous page request that was saved by the SaveControlState method.

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

public protected:
virtual void LoadControlState(
	Object^ savedState
) override

Parameters

savedState
Type: System::Object^

An Object that represents the control state to be restored.

Exception Condition
ArgumentException

The length of savedState does not equal the length of the array created by the SaveControlState method.

When this method is invoked, it determines whether control state was previously saved for the control and, if so, sets the control state to the saved value.

.NET Framework
Available since 2.0
Return to top
Show: