Format:
Recent snippets matching tags of pagereference
/// <summary> /// Creates a string list that contains the hierrarchy leading to the current page /// </summary> /// <param name="currentPage"></param> /// <param name="ReplaceStartWithLangCode"></param> /// <param name="ReverseSort"></param> /// <returns></returns> public static List<string> GetBreadCrumb(PageData currentPage, bool ReplaceStartWithLangCode, bool ReverseSort) { if (currentPage != null)
555 Views
no comments
// Extension method for retrieving a page from a PageReference // For example: // PageData parent = CurrentPage.ParentLink.GetPage() public static PageData GetPage(this PageReference link) { if (link==PageReference.EmptyReference) return null; return DataFactory.Instance.GetPage(link); }
196 Views
1 comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
