Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IPersonalizable.Load Method
Collapse the table of content
Expand the table of content

WebPartManager.IPersonalizable.Load Method

Returns previously saved custom personalization state data that needs to be loaded to the WebPartManager control.

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

void IPersonalizable.Load(
	PersonalizationDictionary state


Type: System.Web.UI.WebControls.WebParts.PersonalizationDictionary

A PersonalizationDictionary that contains the state data to be loaded.



This method is an implementation of the IPersonalizable.Load method, which provides a way for the Web Parts control set to directly access the protected WebPartManager.LoadCustomPersonalizationState method. When this method is called, it stores the custom personalized data that is managed by the WebPartManager control, and that was previously saved in the permanent data store for use later in the initialization process.


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 retrieving personalization data.

Notes to Inheritors

One scenario in which developers would use 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 IPersonalizable.Load method at the proper time to load custom personalization data.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
© 2015 Microsoft