Defines the contract a Web Parts control implements to pass a parameter value in a Web Parts connection.

See Also: IWebPartParameters Members


public interface IWebPartParameters


Data is usually sent from a provider to a consumer in a Web Parts connection. However, in some cases, a provider needs a parameter from the consumer to determine which values it should send back. The System.Web.UI.WebControls.WebParts.IWebPartParameters interface defines members to implement that facilitate the passing of a parameter from a consumer to a provider.

The System.Web.UI.WebControls.WebParts.RowToParametersTransformer class implements the System.Web.UI.WebControls.WebParts.IWebPartParameters interface. Transformers are used to translate data between two Web Parts controls with incompatible connection points. A System.Web.UI.WebControls.WebParts.RowToParametersTransformer object transforms data from a provider implementing the System.Web.UI.WebControls.WebParts.IWebPartRow interface when the provider needs a parameter from the consumer.

The IWebPartParameters.GetParametersData(ParametersCallback) method retrieves the data from the provider and provides a callback method to process the data for the consumer. The callback method can be a customized method within the consumer that sets the return values accordingly.


Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in System.Web.dll)
Assembly Versions:
Since: .NET 2.0