Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Filtering Results with two lists View modes: 
User avatar
Member
Member
SLorenz - 1/16/2014 6:11:08 AM
   
Filtering Results with two lists
Hi,

I'm new to Kentico and wonder what is the preferred "Kentico way" to achieve the following:

On a page, I'd like to have a multi-select listbox (or checkbox list) showing all countries and a listview (repeater or else) showing all names (child docs) of the countries selected in the first listbox.

My content tree looks like this:

Countries
Germany
John
Jane
Belgium
Peter
Paul
Mary

For example, the resulting page should look like this:

[ ] Germany
[x] Belgium

Peter
Paul
Mary

What options do I have to achieve this? Is a custom webpart *the* way to go?

Jake

User avatar
Member
Member
kentico_sandroj - 1/17/2014 1:17:57 PM
   
RE:Filtering Results with two lists
Hi Jake,

A custom Web part would be a good approach but you could also use multiple default Web parts and this approach to configure the described functionality. Would that work for you?

Best Regards,
Sandro

User avatar
Member
Member
SLorenz - 1/17/2014 2:29:01 PM
   
RE:Filtering Results with two lists
The second approach sounds nice, but that would mean I need to manipulate the source of the involved webparts (or change clones of them), right? Or is there a "less invasive" method I don't know of yet?

User avatar
Member
Member
kentico_sandroj - 1/21/2014 4:18:26 PM
   
RE:Filtering Results with two lists
Hello,

That is correct, you would have to modify the Web parts to include the additional code. However, I believe the custom Web part which contains the other two Web parts would be a better approach since you would a) avoid modifying default files, or b) have less Web parts registered in the system (clones).

Please let me know if you have additional questions.

Best Regards,
Sandro