Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "marcos_vera"

hi first i know that not write correctly, i apologize my question is about menu system i have download template with angular and entity framework and try create a menu with submenus. my code is like this

public override void SetNavigation(INavigationProviderContext context)
        {
            context.Manager.MainMenu
                .AddItem(
                    new MenuItemDefinition(
                        "Home",
                        new LocalizableString("HomePage", rdvConsts.LocalizationSourceName),
                        url: "#/",
                        icon: "fa fa-home"
                        )
                ).AddItem(
                    new MenuItemDefinition(
                        "About",
                        new LocalizableString("About", rdvConsts.LocalizationSourceName),
                        url: "#/about",
                        icon: "fa fa-info"
                        )
                ).AddItem(
                    new MenuItemDefinition(
                        "tests",
                        new LocalizableString("TestMenu", rdvConsts.LocalizationSourceName),
                        url: "#/tests",
                        icon: "fa fa-asterisk"
                        )
                .AddItem(
                    new MenuItemDefinition(
                        "CarList",
                        new LocalizableString("CarList", rdvConsts.LocalizationSourceName),
                        url: "#/tests/carList",
                        icon: "fa fa-asterisk"
                        )
                    ));
        }

all the necessary in the localized string has been correctly setting when site run the menu not show the submenu items only the roots (home,about,test) but not the carlist item into test menu. i test with the chrome console and the object abp.nav.menus.MainMenu has all the items and subitems (included car list item). can help me? (Thank you in advance!) greetings

Showing 1 to 1 of 1 entries