programmatic create submenu item

Topics: General, Writing modules
Oct 11, 2011 at 7:02 PM

is it possible to create a submenu item programmatic like:

builder.Add(T("MainMenuItem"), "1", item => item.Url("http://www.google.nl"));

builder.Add(T("SubMenuItem"), "1.1", item => item.Url("http://www.google.nl"));

i know there's a advanced menu item where you can add subitems but i want to do it programmticly

Coordinator
Oct 11, 2011 at 7:09 PM

Your best bet is probably to look at the code in the advanced menu.