ASPX templates
Version 3.x > ASPX templates > Displaying a Document View modes: 
User avatar
Member
Member
imuir@amplifystudios.com - 6/20/2008 1:40:23 PM
   
Displaying a Document
I've created a new document type and I would like to display it in an aspx template.

I can get it to render via the CMSDataList control, but that seems kind of difficult. Is there a CMSDocument control that I could use to render a single document in a template?

User avatar
Member
Member
kentico_vitaja - 7/1/2008 6:07:46 AM
   
RE:Displaying a Document
Hi,

For example you may use Repeater with fixed Path property to your single document. Then you need to create appropriate transformation.

Best regards,
Vita Janecek