This documentation is archived and is not being maintained.

ConnectionsZone::SaveControlState Method

Saves any Web Parts control state changes that occurred since the last time the page was posted back to the server.

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

protected public:
virtual Object^ SaveControlState() override

Return Value

Type: System::Object
Returns the Web Parts control's current state. If no state is associated with the control, this method returns nullptr.

If a ConnectionsZone control is visible in any of its modes except the mode that displays existing connections details, and if it has control state data about connection details associated with it, the SaveControlState method saves the data so that it can be persisted across round trips to the server.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: