Slow to load dropdown when menuitem added dynamically

Nov 4, 2010 at 4:56 AM
Edited Nov 4, 2010 at 5:17 AM

Any ideas why the menu is very slow to populate the dropdowns when the menuitems are added dynamically in code behind??



Edit: Worked it out, gotta add menuitems in OnPreRender() not in Page_Init()