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)

public protected:
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 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
Available since 2.0
Return to top
Show: