This topic has not yet been rated - Rate this topic

SPWebPartManager.SaveControlState Method

SharePoint 2010

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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
protected override Object SaveControlState()

Return Value

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

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

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ