WebPart.AllowConnect Property

Gets or sets a value that indicates whether the WebPart control allows other controls to form connections with it.

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

[ThemeableAttribute(false)] 
public virtual bool AllowConnect { get; set; }
/** @property */
public boolean get_AllowConnect ()

/** @property */
public void set_AllowConnect (boolean value)

public function get AllowConnect () : boolean

public function set AllowConnect (value : boolean)

Not applicable.

Property Value

A Boolean value that indicates whether connections can be formed with the control. The default is true.

The property value can be set declaratively in page markup, or programmatically.

This property cannot be set by themes or style sheet themes. For more information, see ThemeableAttribute and Introduction to ASP.NET Themes.

The personalization scope of this property is set to Shared and can be modified only by authorized users. For more information, see PersonalizableAttribute and Web Parts Personalization Overview.

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
Show: