I am trying to create a custom webpart which will act as a consumer webpart to the SharePoint List Filter WebPart. I have not been able to make this code work, the send filter values to option is disabled on the List filter web part. any ideas?
namespace PageViewerWithConnections.CustomPageViewer
{
[ToolboxItemAttribute(false)]
public class CustomPageViewer : System.Web.UI.WebControls.WebParts.WebPart
{
IFilterValues _filterVals;
[ConnectionConsumer("Market")]
public void ConsumeFilter(IFilterValues filterValues)
{
_filterVals = filterValues;
}
protected override void CreateChildControls()
{
}
}
}