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!
|