WebPartPersonalization::ApplyPersonalizationState Method ()
.NET Framework (current version)
Applies personalization data to the parent WebPartManager control.
Assembly: System.Web (in System.Web.dll)
| Exception | Condition |
|---|---|
| InvalidOperationException | An attempt was made to apply personalization state prior to the state being loaded from the underlying data store. - or - The personalization state returned from the data store was null. |
If the IsEnabled property is set to true, this method calls the ApplyWebPartPersonalization method on the PersonalizationState instance to apply personalization state to the supplied Web Parts control.
.NET Framework
Available since 2.0
Available since 2.0
Show: