SPWebPartManager.SaveControlState method

Saves state data for the SPWebPartManager so the data can be restored on future requests of the page.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Protected Overrides Function SaveControlState As Object
'Usage
Dim returnValue As Object

returnValue = Me.SaveControlState()
protected override Object SaveControlState()

Return value

Type: System.Object
An object that contains the saved state data.

Remarks

This method is overridden to prevent the WebPartManager control from saving control state.

See also

Reference

SPWebPartManager class

SPWebPartManager members

Microsoft.SharePoint.WebPartPages namespace