This documentation is archived and is not being maintained.

WebPartManager::IsCustomPersonalizationStateDirty Property

Gets a value that indicates whether personalization changes have been made that affect page-level personalization details controlled by the WebPartManager control.

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

protected:
virtual property bool IsCustomPersonalizationStateDirty {
	bool get ();
}

Property Value

Type: System::Boolean
A Boolean value that indicates whether personalization changes have been made. The default value is false.

The WebPartManager control uses the IsCustomPersonalizationStateDirty property internally to track whether any of the page-level personalization data that it manages has changed. The personalization data changes when users carry out various personalization actions at the page level, such as adding or removing WebPart controls, connecting or disconnecting controls, changing the page's layout by moving controls, and other actions.

NoteNote

Users can also perform personalization at the control level, which means that they make personalization changes to a specific control, and the changes affect only that control. An example would be editing the control and changing its title text, or its background color. Control-level personalization does not affect the page-level personalization data tracked by the WebPartManager control, and so the IsCustomPersonalizationStateDirty property value is not changed to true when control-level personalization occurs.

Although the method is protected and cannot be accessed directly by a caller, the IPersonalizable::IsDirty property can be accessed directly by callers, and it returns the value of this property.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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