Example #1
0
 public void Add(string title, string link, string alt, bool last)
 {
     LinkEntity item = new LinkEntity();
     item.Title = title;
     item.Link = link;
     item.Alt = alt;
     item.Last = last;
     _link.Add(item);
 }
Example #2
0
        public void StartBreadcrumb(string titleHome, string linkHome, string alt)
        {
            LinkEntity item = new LinkEntity();
            item.Title = titleHome;
            item.Link = linkHome;
            item.Alt = alt;
            item.Last = false;
            _link.Insert(0, item);
            //StartBreadcrumb();

            Repeater rpt = (Repeater)_control.FindControl("rptLink");
            rpt.DataSource = _link;
            rpt.DataBind();
        }
Example #3
0
        public void StartBreadcrumb()
        {
            LinkEntity item = new LinkEntity();
            item.Title = "Trang chủ";
            item.Link = Library.Tools.UrlBuilder.RootUrl;
            item.Alt = "Du lịch Việt Nam";
            item.Last = false;
            _link.Insert(0, item);

            Repeater rpt = (Repeater)_control.FindControl("rptLink");
            rpt.DataSource = _link;
            rpt.DataBind();
        }