Open Closed

Left side menu collapse when clicked #597


User avatar
0
RonaldR created

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v3.2
  • UI type: MVC
  • Tiered (MVC) or Identity Server Seperated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:
  • In our menu provider we add themenu items we wantr plus make some adjustments to the administration menu. what we notice is the admin menu, after you click on a page, stays open to the page you clicked on,however, the pages we added do not behave this way. is there some setting or css or something we are supposed to apply to get our menus to stay open too?

1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    You need to set the MenuItemName in your page. like:

    @{
        PageLayout.Content.Title = L["Menu:FileManagement"].Value;
        PageLayout.Content.MenuItemName = FileManagementMenuNames.GroupName;
    }
    
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11