WebPartManager.SaveCustomPersonalizationState Method
Assembly: System.Web (in system.web.dll)
protected void SaveCustomPersonalizationState ( PersonalizationDictionary state )
protected function SaveCustomPersonalizationState ( state : PersonalizationDictionary )
Not applicable.
Parameters
- state
A PersonalizationDictionary that contains the state data to be loaded.
The SaveCustomPersonalizationState method is critical in the process of personalization, because it enables personalized user settings to be stored for future browser sessions and visits to a page. The method saves custom personalization state data, which includes items such as the following: dynamic WebPart or server controls that have been added to a page or deleted from a page; controls that have been moved on a page; and dynamic connections that have been created or deleted.
You cannot call this method directly from your code. You can, however, call the System#Web#UI#WebControls#WebParts#IPersonalizable#Save method, which itself calls this method to save personalization data.
Notes to Inheritors: Developers can override this method in a derived WebPartManager class to customize the process of saving personalization data.Windows 98, Windows Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.