This topic has not yet been rated - Rate this topic

WebPart.AllowConnect Property

Note: This property is new in the .NET Framework version 2.0.

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)

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 ASP.NET Themes and Skins Overview.

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 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.