BreadcrumbItem show link in browser status bar

1 Answer 135 Views
Breadcrumb
Adrian
Top achievements
Rank 1
Adrian asked on 20 Nov 2022, 05:32 PM

Is it possible to have the BreadcrumbItem show the link in the browser status bar when a user hovers over it, like a regular anchor tag?

 

I tried using an ItemTemplate and wrapping the content in an anchor tag with the onclick set to return false, but I couldn't see any way to do this without losing all the existing styling. It seems like I'd have to pretty much rewrite the entirety of the BreadcrumbItem to get access to things like the Root or Last property in order to render the items correctly.

1 Answer, 1 is accepted

Sort by
1
Accepted
Hristian Stefanov
Telerik team
answered on 23 Nov 2022, 10:18 PM

Hi Adrian,

I confirm that the desired result is possible.

Indeed, using the ItemTemplate is the easiest way to make things work.

Here is an example I have prepared for you that seems to cover the scenario needs: REPL link. Please run and test it to see the result.

Let me know if you face any difficulties when testing.

Regards,
Hristian Stefanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Adrian
Top achievements
Rank 1
commented on 24 Nov 2022, 10:13 AM

Thanks, that gave me enough to work with, got it working now.
Tags
Breadcrumb
Asked by
Adrian
Top achievements
Rank 1
Answers by
Hristian Stefanov
Telerik team
Share this question
or