This topic has not yet been rated - Rate this topic

WebPartManagerInternals.SetIsStatic Method

Sets the IsStatic property of a WebPart control or the IsStatic property of a WebPartConnection object.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method SetIsStatic(WebPart, Boolean) Sets the IsStatic property of a WebPart control.
Public method SetIsStatic(WebPartConnection, Boolean) Sets the IsStatic property of a WebPartConnection object.
Top

The SetIsStatic method calls a method in a base class to set a property that indicates whether a particular instance of a control is static. In the Web Parts control set, a static control is a control that is declared in the markup of a Web page. This is in contrast to a dynamic control, which is either added to a page programmatically, or added by a user from a catalog of controls. A static control is inherently a shared control, meaning that it is visible to all users of a page, and although users can close a static control, they can never delete (permanently remove) it.

Note Note

For more on personalization, static versus dynamic controls, and shared versus per-user controls, see Web Parts Personalization Overview.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.