WebPartConnectionsEventArgs.Provider Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the WebPart control that is acting as the provider in the connection.

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

public WebPart Provider { get; }

Property Value

Type: System.Web.UI.WebControls.WebParts.WebPart

The WebPart acting as the provider.

A connection between controls in a Web Parts zone requires one control to act as the provider and another to act as the consumer. Each control must also have a connection point defined; in the provider's case, the connection point must be a ProviderConnectionPoint object.

For details about Web Parts connections, see WebPartConnection, ConnectionPoint, and Web Parts Connections Overview.

.NET Framework
Available since 2.0
Return to top