Export (0) Print
Expand All
Expand Minimize

WebPartManager.SetPersonalizationDirty Method

Sets a flag indicating that custom personalization data for the WebPartManager control has changed.

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

protected void SetPersonalizationDirty()

The SetPersonalizationDirty method sets a flag that ultimately causes the personalization components in the Web Parts control set to save the updated personalization data. For more information on the scenarios that can cause changes to the personalization data tracked by the WebPartManager control, see the IPersonalizable.IsDirty property.

The SetPersonalizationDirty method cannot be called directly from your code, and cannot be overridden, because it is used internally by the Web Parts control set as part of the Web Parts personalization feature.

Notes to Inheritors

The method can be called by a derived WebPartManager class. This would be useful if you want to customize the personalization components of the Web Parts control set, and thus need to control the process of setting flags for personalization data.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

Show:
© 2014 Microsoft