ASPX templates
Version 2.x > ASPX templates > Document Repeater View modes: 
User avatar
Certified Developer v7
Certified  Developer v7 - 5/31/2007 1:34:34 PM
Document Repeater

I am trying to create some simple page navigation using a repeater:
<asp:Repeater ID="Navigation" runat="server">
<a href="<%# DataBinder.Eval(Container, "DataItem.DocumentUrlPath")%>">
<%# DataBinder.Eval(Container, "DataItem.DocumentName")%></a>

This is working fine but what property do i use if i want a link to that document ? (currently using DocumentUrlPath but this is not corect)



User avatar
Kentico Support
Kentico Support
kentico_jurajo - 7/23/2007 12:42:47 PM
RE:Document Repeater
Could you please try to use the transformation "<%# GetDocumentUrl() %>" as described for example in Site Manager -> Development -> Document types -> CMS.News -> Transformations -> Preview.

Please let me know if I can be of ane further help.

Best Regards,
Juraj Ondrus