Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

WebPartManager.System.Web.UI.WebControls.WebParts.IPersonalizable.Save Method

Note: This method is new in the .NET Framework version 2.0.

Saves custom personalization state data that is managed by the WebPartManager control.

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

void IPersonalizable.Save (
	PersonalizationDictionary state
J# supports the use of explicit interface implementations, but not the declaration of new ones.
JScript supports the use of explicit interface implementations, but not the declarations of new ones.



A PersonalizationDictionary that contains the state data to be saved.

The System.Web.UI.WebControls.WebParts.IPersonalizable.Save method is an implementation of the IPersonalizable.Save method, which provides a way for the Web Parts control set to directly access the protected WebPartManager.SaveCustomPersonalizationState method. When this method is called, it saves all personalized data that is managed by the WebPartManager control to the permanent data store configured for a Web Parts application.


In most cases, page and control developer code does not need to call this method, because it is primarily used by the Web Parts control set as its mechanism for saving personalization data.

Notes to Inheritors One scenario in which developers would work with this method is if they are developing a custom personalization framework to use in place of the one provided by the Web Parts control set. In such cases, developers could inherit from the WebPartManager class and override the CreatePersonalization method to return a custom implementation of a WebPartPersonalization object. The custom WebPartPersonalization object would call the implementation of the System.Web.UI.WebControls.WebParts.IPersonalizable.Save method at the proper time to save the custom personalization data.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

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

.NET Framework

Supported in: 2.0

Community Additions

© 2015 Microsoft