Export (0) Print
Expand All

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 internal override Object SaveControlState()

Return Value

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

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.6, 4.5, 4, 3.5, 3.0, 2.0
© 2015 Microsoft