Base solution for your next web application
Open Closed

Modular architecture navigation #2195


User avatar
0
pszatkowski created

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)
  • User Avatar
    0
    pszatkowski created

    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.

  • User Avatar
    0
    ismcagdas created
    Support Team

    It's good that you solved it :).