I'm trying to nest repeater in transformation. I have following code (Path1 is define by "URL Selector" form control):
<cms:CMSRepeater ID="repItems" runat="server" TransformationName="Custom.Document.Preview" ClassNames="Custom.Document" DelayedLoading="true" Path=<%#Eval("Path1")%>/>
In additional I've added script as follows:
<script runat="server"> protected override void OnInit(EventArgs e) { repItems.Path = (string)Eval("Path1") //I need to cust it on string; repItems.ReloadData(true); } </script>
and set "Nested controls ID" on repItems. But it still not working. Do you have any clues?
Remove this from your repeater definition Path=<%#Eval("Path1")%>
Path=<%#Eval("Path1")%>
Please, sign in to be able to submit a new answer.