ASPX templates
Version 5.x > ASPX templates > How can I dynamically populate the Path property of a CMSRepeater View modes: 
User avatar
Member
Member
Rik - 3/23/2011 3:46:15 PM
   
How can I dynamically populate the Path property of a CMSRepeater


I am using ASP.NET Themes and need be able to pass the value of my Page.Theme into the Path property of my CMSRepeater, so I can grab all the nodes which match that Path. If I manually populate the Path like this, to test one section of my site, it works:

Path='/Footwear/%"

... but if I try and swap out that value for the matching Page.Theme, it doesn't. Trying either:

Path='"/" + <%= Page.Theme %> + "/%" '

or

Path=' <%= CurrentPage.NodeAliasPath %> + "/%" '

I have tried adding DelayedLoading="true". Any help from anyone who has resolved this before would greatly appreciated.

Cheers!

User avatar
Member
Member
Rik - 3/24/2011 10:16:50 PM
   
RE:How can I dynamically populate the Path property of a CMSRepeater
Fixed. Referred to:

http://devnet.kentico.com/FAQs/Web-parts---Controls/The-nested-repeater-displays-all-documents-under-e.aspx