Aperto Chiuso

How to set data for Breadcrumb in Blazor razor page? #4406


User avatar
0
zhongfang creato
  • ABP Framework version: v7.0.1
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
  • create a new razor page
  • how to control the items in Breadcrumb?

2 risposte
  • User Avatar
    0
    zhongfang creato

    There are 4 links in bottom. (Lepton Theme/ Privacy /Cookie/ Contact). How to change theme?

  • User Avatar
    0
    EngincanV creato
    Team di supporto .NET Developer

    Hi, you can inject the PageLayout class and add new BreadcrumbItems. See PageLayout.cs and the documentation for more info.

    Also, you can read https://docs.abp.io/en/commercial/latest/themes/lepton-x/blazor?UI=Blazor#common-components for customizing the breadcrumb component, if you want to override it completely.

Made with ❤️ on ABP v8.2.0-preview Updated on marzo 25, 2024, 15:11