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.
- control
The System.Web.UI.Control for which the personalization data has changed.
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.