PersonalizationState::SetWebPartManagerDirty Method ()

 

When overridden, marks the associated WebPartManager control as having changed.

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

public:
virtual void SetWebPartManagerDirty() abstract

This is the abstract definition of the method used to indicate that the WebPartManager instance associated with the PersonalizationState instance is now considered to have changed (is "dirty").

The WebPartPersonalization class exposes a protected method (which in turn calls this method) that can be used by developers to mark the associated WebPartManager control as "dirty," thus indicating the need to reserialize and save personalization state.

.NET Framework
Available since 2.0
Return to top
Show: