This is a migrated thread and some comments may be shown as answers.

Breadcrumbs on the menu items

5 Answers 565 Views
Menu
This is a migrated thread and some comments may be shown as answers.
SL
Top achievements
Rank 1
Veteran
SL asked on 31 Mar 2020, 05:24 PM

Posting it here since it is related to the menu items.  Is there a way to show bread crumbs on the menu items?

 

Thanks.

5 Answers, 1 is accepted

Sort by
1
Marin Bratanov
Telerik team
answered on 31 Mar 2020, 06:45 PM

Hello,

How would you imagine a menu showing a breadcrumb, considering that the items have full links and it cannot be guaranteed that the parent item will point to the parent part of the URL segment? I am asking this because the way we've handled this elsewhere is by a dedicated component such as this one: https://demos.telerik.com/kendo-ui/breadcrumb/index. Would such a separate component be useful for you?

 

Regards,
Marin Bratanov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
SL
Top achievements
Rank 1
Veteran
answered on 31 Mar 2020, 07:48 PM
Ah yes, the https://demos.telerik.com/kendo-ui/breadcrumb/index would work. My requirement is to use the same menu items for the breadcrumb.
0
Marin Bratanov
Telerik team
answered on 01 Apr 2020, 07:18 AM

Hello,

I'm thinking that you want the navigation and bind-to-location features of the breadcrumb widget: https://docs.telerik.com/kendo-ui/controls/navigation/breadcrumb/navigation.

The menu items cannot be guaranteed to actually have appropriate URLs and segments to act as a breadcrumb. WIth the feature above, however, you would not even have to provide any items to the component, it would parse the URL, extract the "/" segments from it and generate items from them. It could even hook to the NavigationManager's LocationChanged event to re-parse the current URL after it changes (e.g., for cases when it is not part of the updated/navigated component, but part of the layout.

If such a separate component would not work for your case, I would ask you to add some ideas on how would such a thing work in a menu component.

 

Regards,
Marin Bratanov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
SL
Top achievements
Rank 1
Veteran
answered on 02 Apr 2020, 05:03 PM
Hi Marin,  The kendo-ui style would work for me.  Thanks.
0
Marin Bratanov
Telerik team
answered on 02 Apr 2020, 05:06 PM

I made the following page in our feedback portal so you can Follow its implementation: https://feedback.telerik.com/blazor/1460314-breadcrumb-component

 

Regards,
Marin Bratanov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Menu
Asked by
SL
Top achievements
Rank 1
Veteran
Answers by
Marin Bratanov
Telerik team
SL
Top achievements
Rank 1
Veteran
Share this question
or