private string GetFirstChildUrl() { var node = Node; var url = TreePathUtils.GetFirstChildUrl(node.NodeSiteName, node.NodeAliasPath, node.DocumentCulture); return(string.IsNullOrEmpty(url) ? GetString("content.menu.nochilddocument") : string.Format("<a target=\"_blank\" href=\"{0}\" >{0}</a>", URLHelper.ResolveUrl(url))); }
private string GetFirstChildUrl() { var url = TreePathUtils.GetFirstChildUrl(PageInfoProvider.GetPageInfo(Node.DocumentGUID)); return(string.IsNullOrEmpty(url) ? GetString("content.menu.nochilddocument") : string.Format("<a target=\"_blank\" href=\"{0}\" >{0}</a>", URLHelper.ResolveUrl(url))); }