Custom filter with custom page type

Tim G. asked on March 23, 2018 21:03

I'm trying to set up a custom filter as per the documentation here but on a custom page type. But I'm getting an error of invalid column name when trying to filter by one of my custom page type fields.

https://docs.kentico.com/k11/custom-development/developing-web-parts/advanced-web-part-development-scenarios/developing-custom-filters

What do I need to do to join the table?

Recent Answers


Trevor Fayas answered on March 23, 2018 21:37

Custom Filters generally only create a "Where" or "Order By" for the given data source.

So if you get an Invalid Column, the issue is probably in your Data Source or the thing you are filtering, not the filter itself.

What web part are you "filtering" and are you setting the Class Names in them?

0 votesVote for this answer Mark as a Correct answer

Tim G. answered on March 23, 2018 23:30

I've tried it with both a webpart repeater and a basic repeater and datasource. Where would you set the class? Can you help me with an example?

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.