protected virtual string ResolveVirtualPath(ISiteMapNode node) { var url = node.UnresolvedUrl; if (!urlPath.IsAbsoluteUrl(url)) { return(urlPath.MakeVirtualPathAppAbsolute(urlPath.Combine(urlPath.AppDomainAppVirtualPath, url))); } return(url); }
/// <summary> /// Gets a boolean value that indicates this is an external URL by checking whether it /// looks like an absolute path. /// </summary> /// <returns></returns> public override bool HasAbsoluteUrl() { return(urlPath.IsAbsoluteUrl(this.url)); }