Hi all, I'm building a modular solution for maintainability but I'm having an issue injecting navigation links into the main menu from my modules. I'm using an MVC and jQuery application and the main Web app is loading my module correctly. However if I debug the code, the SetNavigation routine in the module is being called before the SetNavigation routine in the MPA startup class. My module depends on MyWebModule so I assumed it would be initialized first?
I want the navigation links from the modules to appear underneath the links from the main Web module hence needing the Web module to be initialized first.
Any thoughts?
2 Answer(s)
-
0
Scrap that. I've worked around the issue by forcing the navigation items in the Mpa startup class to the top after they have been added.
-
0
It's good that you solved it :).