Installation and deployment
Version 7.x > Installation and deployment > Adding a download link on Repeater View modes: 
User avatar
Member
Member
nipuna.weerasinghe-acem.org - 10/20/2013 10:56:05 PM
   
Adding a download link on Repeater
Hi,
I Have created a custom document type with two fields, Desc and PDF. Then I have used repeater to display the content as follows.
  <tr>
<td>Desc:</td>
<td><%# Eval("Desc") %></td>
</tr>
<tr>
<td>PDF:</td>
<td><a class="header bold" href="<%# GetDocumentUrl() %>"><%# Eval("PDF", true) %></a></td>
</tr>
</table>

What I m trying to do is uploading a pdf document and display a link to the pdf for the public. then they can download the pdf.
can someone please help me .

User avatar
Member
Member
nipuna.weerasinghe-acem.org - 10/21/2013 12:18:02 AM
   
RE:Adding a download link on Repeater
Hi All,
I found a way to do this. Thanks.

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 10/21/2013 12:59:55 AM
   
RE:Adding a download link on Repeater
Hello,

Feel free to share you solution... it could be helpful for somebody else in the future :)

Best regards,
Martin Danko

User avatar
Member
Member
afique-resolvtech - 12/1/2013 10:18:35 PM
   
RE:Adding a download link on Repeater
Hi,

Can you show how u do that? I'm also try to do what you are doing.

Thanks