DEV Community

Discussion on: Breadcrumbs within Razor page .Net Core

 
chriscooper01 profile image
Chris Cooper

Hi
Don't think you can run the action on the layout, it needs to be on the code-behind for each page. But if you do try and it works let us now, it would be good to know.

You could go with the partial view, but it would need a partial view with a code behind.

When you do get back to it, let me know your end result, solution.

Thanks, hope this solution helps you

Thread Thread
 
chriscooper01 profile image
Chris Cooper

With tips, I did not look at nugets or third part codes. I just went ahead on doing my own. So now able to give any tips sorry.

But if you have the partial view working, it should be dynamic for you. You might want to alter the code to improve the display name.