Eddie Shipman
asked on
Dynamic Breadcrumbs in C# MVC5 app
I need breadcrumbs for my MVC website in this format:
This is how it needs to look:
I've tried some NuGet offerings, MVCBreadCrumb, and MVCSiteMapProvider but couldn't get them to actually work in my project.
Anyone know a quick way to do this?
<span class="inline odd first"><a href="/">Home</a></span>
<span class="delimiter">></span>
<span class="inline even"><a href="#">Link 1</a></span>
<span class="delimiter">></span>
<span class="inline odd"><a href="#">Link 2</a></span>
<span class="delimiter">></span>
<span class="inline even"><a href="#">Link 3</a></span>
<span class="delimiter">></span>
<span class="inline odd"><a href="#">Link 4</a></span>
<span class="delimiter">></span>
<span class="inline even last">You Are Here</span>
All the samples I've seen are using some kind of layout that uses and unordered list with list items.This is how it needs to look:
Home > Link 1 > Link 2 > Link 3 > Link 4 > You Are Here
I've tried some NuGet offerings, MVCBreadCrumb, and MVCSiteMapProvider but couldn't get them to actually work in my project.
Anyone know a quick way to do this?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Not using ActionLinks.
They looked like ActionLinks in your previous post.
ASKER
Open in new window