ASPX templates
Version 5.x > ASPX templates > Inline repeator transformation View modes: 
User avatar
Certified Developer v7
Certified  Developer v7
roy-esselink - 5/18/2012 8:01:00 AM
   
Inline repeator transformation
Hello,

Currently I'm working on a site and I need to display an inline repeator in a transformation.
My site structure is:

Page
- Custom Document type
-- File
-- File
- Custom Document type
-- File

The page has a repeator for showing the Custom document types, in that transformation I want to show the Custom Document type underlying CMS.File.
I use the following transformation:

<div>
<h2><%# Eval("title") %></h2>
<span><%# Eval("description") %></span>
<cc1:CMSRepeater runat="server" ID="rep" MaxRelativeLevel="1" ClassNames="CMS.File" TransformationName="CMS.File.Default" SelectOnlyPublished="true" path='<%# Eval("NodeAliasPath") + "/%" %>' EnableViewState="true" />
</div>


The problem is that the transformation is not showing the CMS.File under the Custom Document type, but only the files under the page itselfs.

Best Regards

User avatar
Member
Member
kentico_michal - 5/20/2012 6:34:04 AM
   
RE:Inline repeator transformation
Hi,

Could you please create the nested control as it is described in this section: Using nested controls.

Best regards,
Michal Legen