WebPartPersonalization.IsEnabled Property

Gets a value that indicates whether personalization is enabled and has successfully loaded personalization data for this instance of the WebPartPersonalization class.

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

public:
property bool IsEnabled {
	bool get ();
}
/** @property */
public boolean get_IsEnabled ()

public function get IsEnabled () : boolean

Not applicable.

Property Value

true if personalization is enabled for the current WebPartPersonalization instance and personalization data has successfully loaded; otherwise, false.

Prior to loading personalization data, this property will always return false. For example, this property will return false during the PreInit phase. After the associated WebPartManager's OnInit method has successfully completed (during which the Load method is called), this property will then return true.

This property is a publicly accessible alias for the protected IsInitialized property.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: