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.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System::BooleanA 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.
Note: |
|---|
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.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Note: