Search for:
Sign in
Register
Menu
Articles
Questions & Answers
Download
Documentation
Support
Marketplace
Old Forums
Search:
Search text
Portal Engine
Questions on portal engine and web parts.
Version 7.x
>
Portal Engine
>
how to get parent document url
View modes:
View mode
Threaded
Flat - newest to oldest
Flat - oldest to newest
Member
pavel.1991-tut
-
11/21/2013 9:10:34 AM
how to get parent document url
I'm using transformation in my own document type. How to get parent document url in this transformation? I know how to get url of current document(<%# GetDocumentUrl() %>), but I do not know how to get parent document url. Thanks.
Kentico Legend
Brenden Kehren
-
11/21/2013 2:20:40 PM
RE:how to get parent document url
Try this to get the current page you are navigating to
<%# CurrentDocument.Parent.NodeAliasPath %>
Try this to get the current page being rendered
<%# Document.Parent.NodeAliasPath %>
Top