SetConnectedFilterProvider method
Collapse the table of content
Expand the table of content

DataFormWebPart.SetConnectedFilterProvider method

Sets the IWebPartParameters instance from the filter provider to the DataFormWebPart.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public void SetConnectedFilterProvider(
	IWebPartParameters provider


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

The interface instance from the filter providers that is to be connected with the DataFormWebPart.

This method is called by the runtime when the DataFormWebPart is connected to a provider control that implements the IWebPartParameters interface.

This method adds the provider to _connectedFilterProviders and retrieves data from the provider.

© 2016 Microsoft