zHaytam / SmartBreadcrumbs

A utility library for ASP.NET Core (both MVC and Razor Pages) websites to easily add and customize breadcrumbs.
https://blog.zhaytam.com/2018/06/24/asp-net-core-using-smartbreadcrumbs/
MIT License
161 stars 77 forks source link

url parameter on SmartBreadcrumbs #42

Closed clashjedsada closed 4 years ago

clashjedsada commented 5 years ago

How to add parameter on SmartBreadcrumbs.

Thank you.

ssheth01 commented 4 years ago

Hello zHaytam I was wondering the same. Is there a way to pass a parameter to SmartBreadCrumbs? Specifically the "FromAction" string? Thanks.

zHaytam commented 4 years ago

Hello, no it's not possible because attribute values need to be constant. However, you can do it using Manual Nodes, check the wiki ^^

ssheth01 commented 4 years ago

Thank-you. Will do.