System.Web.UI.WebControls.WebParts.WebPart.SetPersonalizationDirty Method

Sets a flag indicating that personalization data has changed for the specified server control that resides in a System.Web.UI.WebControls.WebParts.WebPartZoneBase zone.

Syntax

public static void SetPersonalizationDirty (System.Web.UI.Control control)

Parameters

control
The System.Web.UI.Control for which the personalization data has changed.

Remarks

The WebPart.SetPersonalizationDirty(System.Web.UI.Control) method has the same purpose as the WebPart.SetPersonalizationDirty method, which is to set a flag indicating that control state data has been changed (personalized) on a server control during an HTTP GET request. The difference between these methods is that the WebPart.SetPersonalizationDirty(System.Web.UI.Control) method is used for server controls that do not inherit from the System.Web.UI.WebControls.WebParts.WebPart class, but are placed within System.Web.UI.WebControls.WebParts.WebPartZoneBase zones to participate in Web Parts applications.

Requirements

Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0