Ends in:
7 DAYS
19 HRS
13 MIN
28 SEC
Ends in:
7 D
19 H
13 M
28 S
Open Closed

NavigationManager's NavigationTo does not select the sidebar menu #5105


User avatar
0
hardip created
  • ABP Framework version: v7.1
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

When using the NavigationManager's NavigationTo method to change the route, does not select the sidebar menu.

refer :

Any solutions for this?


2 Answer(s)
  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    Can you add the code below to your relevant page and try again?

    @inject PageLayout PageLayout
    
    @code {
        protected override async Task OnInitializedAsync()
        {
            PageLayout.MenuItemName = "YourMenuItemName";
        }
    }
    
    

    For more information, please visit this document.

  • User Avatar
    0
    hardip created

    Thank you, Issue resoved.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06