PersonalizationState::SetWebPartDirty Method (WebPart^)
.NET Framework (current version)
When overridden, marks a Web Parts control as having changed.
Assembly: System.Web (in System.Web.dll)
Parameters
- webPart
-
Type:
System.Web.UI.WebControls.WebParts::WebPart^
The Web Parts control to be marked as having changed.
This is an abstract definition of the method used to indicate that a Web Parts control has changed (is "dirty"). The WebPart class exposes methods (which in turn call this method) that can be used by developers to mark a Web Parts control as "dirty," thus indicating the need to reserialize and save personalization state.
.NET Framework
Available since 2.0
Available since 2.0
Show: