SmartBreadcrumbs icon indicating copy to clipboard operation
SmartBreadcrumbs copied to clipboard

Breadcrumbs with parameters

Open riverahugo opened this issue 3 years ago • 1 comments

var categoryNode = new BreadcrumbNode(product.Category.Name, "Controller", "Category", null, new { id = 10 });

Doesn't work :/ on net core 2.1

I neeeeeddddd help!!!!!!!!!!!!!!!!!!!!!!!

riverahugo avatar Jun 08 '21 04:06 riverahugo

You can try something like this var categoryNode = new MvcBreadcrumbNode("Category", "Controller", product.Category.Name) { RouteValues = new { Id = 10 } };

gandhiarpit avatar Jul 21 '21 00:07 gandhiarpit