Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Multiple Content.Paths in Repeater WebPart Properties. View modes: 
User avatar
Member
Member
Feryt - 8/16/2010 7:17:31 PM
   
Multiple Content.Paths in Repeater WebPart Properties.
Is it possible to specify multiple Paths as DataSource for Repeater WebPart in Web par properties window?

In my site i have few documents of type Product under one Page and different few Products under another Page and i need to show all Products in one repeater.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 8/17/2010 8:27:15 AM
   
RE:Multiple Content.Paths in Repeater WebPart Properties.
Hi,

You can set the path dynamically in the code behind of the web part according to current document.

But easier would be to set the path e.g. to be /% and then use just "Document types" property, where you will specify the document types which should be listed. So in this case the repeater will go through the whole content tree but only documents of certain type(s) will be displayed, as you need to.

Best regards,
Juraj Ondrus

User avatar
Member
Member
Feryt - 8/17/2010 9:10:07 AM
   
RE:Multiple Content.Paths in Repeater WebPart Properties.
Done. Thank you.