hi,
I am using MVC 5 in my application, I that I need to implement breadcrumb, for that I am using sitemap provider but it showing vertical menu, I need to display horizontal breadcrumb.
this is the code of breadcrumb:
@if (Model.Nodes.Count != 1)
{
foreach (var node in Model.Nodes)
{
if (node == Model.Nodes.First())
{
continue;
}
if (node != Model.Nodes.Last())
{
string url = node.IsClickable ? node.Url : "#";
}
else
{
}
}
}
thanks
Tom MohanPosted Mar 26, 2015, 11:00 PM