I'm trying to use the Kendo UI Breadcrumb component. I have it set up like so:
@(Html.Kendo().Breadcrumb()
.Name("breadcrumb")
.BindToLocation(true)
.Navigational(true)
)
This works fine, except when routing to a page multiple levels down in my web app. For example, my project structure is:
Pages/Index.cshtml
Pages/Core/Page2.cshtml
So Pages/Index.cshtml shows just the Home icon. Great.
But pages/Core/Page2.cshtml shows this in the breadcrumbs: HomeIcon > > Page2 instead of HomeIcon > Page2
How do I make the breadcrumb not display that blank space where a folder isas part of the path? I don't want to hard code the breadcrumbs -- that sort of defeats the purpose.