{"id":65,"date":"2016-01-22T13:24:33","date_gmt":"2016-01-22T13:24:33","guid":{"rendered":"http:\/\/windows.emacslisp.com\/?p=65"},"modified":"2016-01-22T13:24:33","modified_gmt":"2016-01-22T13:24:33","slug":"pet-shop-4-0-breadcrumb","status":"publish","type":"post","link":"http:\/\/windows.emacslisp.com\/index.php\/2016\/01\/22\/pet-shop-4-0-breadcrumb\/","title":{"rendered":"Pet Shop 4.0 &#8211; BreadCrumb"},"content":{"rendered":"<p>BreadCrumb is very simple part in Pet Shop 4.0 source code.<br \/>\n&#8220;BreadCrumbControl.ascx&#8221; is main file and it is implemented in Master Template.<\/p>\n<p>add following code into &#8220;class BreadCrumbControl&#8221; in &#8220;Page_Load&#8221; function.<\/p>\n<pre lang=\"csharp\" line=\"1\"> \r\n     HtmlAnchor testAnchor = new HtmlAnchor();\r\n     testAnchor.InnerText = \"Test\";\r\n     testAnchor.HRef = \"~\/Default.aspx\";\r\n     plhControl.Controls.Add(testAnchor);\r\n     plhControl.Controls.Add(GetDivider());\r\n<\/pre>\n<p>check screen dump.<br \/>\nThe final result will be Home > <strong>Test ><\/strong> Birds<br \/>\n<a href=\"http:\/\/windows.emacslisp.com\/wp-content\/uploads\/2016\/01\/petshop4.0_breadcrumb.jpg\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/windows.emacslisp.com\/wp-content\/uploads\/2016\/01\/petshop4.0_breadcrumb.jpg\" alt=\"petshop4.0_breadcrumb\" width=\"853\" height=\"362\" class=\"alignnone size-full wp-image-66\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>BreadCrumb is very simple part in Pet Shop 4.0 source code. &#8220;BreadCrumbControl.ascx&#8221; is main file and it is implemented in Master Template. add following code into &#8220;class BreadCrumbControl&#8221; in &#8220;Page_Load&#8221; function. HtmlAnchor testAnchor = new HtmlAnchor(); testAnchor.InnerText = &#8220;Test&#8221;; testAnchor.HRef &hellip; <a href=\"http:\/\/windows.emacslisp.com\/index.php\/2016\/01\/22\/pet-shop-4-0-breadcrumb\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"_links":{"self":[{"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/posts\/65"}],"collection":[{"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/comments?post=65"}],"version-history":[{"count":1,"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/posts\/65\/revisions"}],"predecessor-version":[{"id":67,"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/posts\/65\/revisions\/67"}],"wp:attachment":[{"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/media?parent=65"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/categories?post=65"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/tags?post=65"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}