Ejemplo n.º 1
0
 protected void SetBreadcrumbToUrl(string displayText, string url, string description = null, bool localize = true)
 {
     HttpContext.AppendToBreadcrumb(new BreadcrumbNode()
     {
         DisplayText = localize ? T(displayText, ApplicationEngine.CurrentLanguageCultureCode) : displayText,
         Url         = url,
         Description = localize ? T(description, ApplicationEngine.CurrentLanguageCultureCode) : description
     });
 }