WebPartPersonalization::ApplyPersonalizationState Method ()

 

Applies personalization data to the parent WebPartManager control.

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

public protected:
virtual void ApplyPersonalizationState()

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
Return to top
Show: