Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Cannot Connet a Filter to a Custom Data Source View modes: 
User avatar
Member
Member
al.lemay@envisasoft.com - 2/11/2011 10:05:37 AM
   
Cannot Connet a Filter to a Custom Data Source
I have successfully created a custom filter and applied it to a UsersDataSource. I basically took the one under CMSModules/IntranetPortal/Controls for the employees and modified it. But I decided to go further and build a custom data source. I CANNOT hook up the filter the the custom data source. The SourceFilterControl property is always NULL. Any thoughts on why that might be?

User avatar
Member
Member
al.lemay@envisasoft.com - 2/15/2011 8:09:25 AM
   
RE:Cannot Connet a Filter to a Custom Data Source
I have found the issue. It appears that you are to use the name you give the filter right above the path to the control, and NOT the name given to the web part itself. This was not evident nor explained anywhere in the documentation.

User avatar
Kentico Support
Kentico Support
kentico_zdenekc - 2/16/2011 2:45:11 PM
   
RE:Cannot Connet a Filter to a Custom Data Source
Hi,

Thanks for info about the solution.

Actually, the instructions at http://devnet.kentico.com/docs/5_5r2/devguide/index.html?using_datasource_web_parts.htm say:

...
Also open the ProductsDataSource's web part properties and enter the same filter name into its Filter name property..
...

Which seems to be quite clear...

Regards,
Zdenek