Open Closed

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


User avatar
0
zhongfang created
  • 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 Answer(s)
  • User Avatar
    0
    zhongfang created

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

  • User Avatar
    0
    EngincanV created
    Support Team .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 March 25, 2024, 15:11