Hi All,
Can anyone tell me if it's possible to modify the DNN breadcrumb from within a razor script? I am trying the following, but it has no effect.
DotNetNuke.Entities.Tabs.TabInfo objTab = new DotNetNuke.Entities.Tabs.TabInfo();
objTab.TabName = "New Text";
objTab.Url = "New URL";
Dnn.Portal.ActiveTab.BreadCrumbs.RemoveAt(Dnn.Portal.ActiveTab.BreadCrumbs.Count - 1);
Dnn.Portal.ActiveTab.BreadCrumbs.Add(objTab);
Thanks in Adnvace