WebPartManager.LoadCustomPersonalizationState Method

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

Stores the custom personalization data that has been passed to the WebPartManager control by the personalization objects to be used later during the initialization process.

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

protected:
virtual void LoadCustomPersonalizationState (
	PersonalizationDictionary^ state
)
protected void LoadCustomPersonalizationState (
	PersonalizationDictionary state
)
protected function LoadCustomPersonalizationState (
	state : PersonalizationDictionary
)

Parameters

state

A PersonalizationDictionary that contains the state data to be loaded.

Return Value

A PersonalizationDictionary that contains state data.

The LoadCustomPersonalizationState method provides saved state data in the form of a PersonalizationDictionary object. This data is eventually used to load personalization data into the Web Parts controls and to perform other initialization tasks.

NoteNote

This method is called by a sequence of methods that begins when the TrackViewState method initially requests the associated WebPartPersonalization object to supply personalization data to the WebPartManager control.

You cannot call this method directly from your code. You can, however, directly call the System.Web.UI.WebControls.WebParts.IPersonalizable.Load method, which itself calls the LoadCustomPersonalizationState method and returns the personalization data.

Notes to Inheritors Developers can override the LoadCustomPersonalizationState method in a derived WebPartManager class.

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

ADD
Show: