How can I decide the order of the icons for the ModulesMenu?

Topics: Web Client Software Factory, User Forum
Dec 19, 2007 at 3:14 PM
Referring to the RI GlobalBank.Commercial.EBanking, I used the same logic to register siteMap information in the Load method of each xxModuleInizializer.

However I cannot order as I like the module icons on the top menu`!!

I realize that there is a specific section (as follows) in the web.config, in each module's WebSite directory, that makes the CompositeWeb framework call (in some way I ignore) the "Load" member of each Class derived by ModuleInitializer.

<module ....

BUT I CAN DECIDE THE ORDER OF CALL of each specific ModuleInitializer as I suppose this implies the presentation order of icons related to the top ModuleMenu?

Hoping some one can explain me,
Kind Regars

Dec 21, 2007 at 2:07 PM

The AddNode method (from SiteMapBuilderService service) includes a overload that you can use to specify the preferred position of the site map node in the site map:

siteMapBuilderService.AddNode(moduleNode, 1);


Sebastian Iacomuzzi
Dec 21, 2007 at 5:19 PM
Thanks Sebastian!! Before I left the second parameter of AddNode to 1 for all the modules so the order was random!
Now it works fine ....

Have a nice Christmas