I have built a custom web part using Visual Studio. Is it possible to use a SharePoint built-in Filter Web Part on top of my web part to filter the results?
Any thought or code sample would be appreciated.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
SharePoints built in filter web parts are known as Filter Providers.
To allow you to connect those to your web part you need to make it a Filter Consumer by implementing an interface.
See MSDN – Writing a Simple Filter Consumer Web Part Sample