Darren
-
5/24/2010 6:00:08 AM
Selected Item Transformation From Different Site
Hi all,
I'm trying to display a list of news items from a seperate site within Kentico. I can display the documents fine but I am having difficulty displaying the selected document when the link is clicked.
When I use <%# GetDocumentUrl() %> it seems to get stuck in an endless loop. I can hard code the URL of the other site before the <%# GetDocumentUrl() %> in the transformation which works, but that obviously re-directs to the other site which is not what I really want. I want to keep the user on the same site if possible.
Ideally I want to use something like <%# GetUrl("/News/News-1", null, "CorporateSite") %> which is normally for a specific file, but I want to use it for each seperate item displayed in my repeater.
Any help is greatly appreciated. Cheers.
|