WebPartConnectionsEventArgs.Provider Property

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft