|
Rank: Member Groups: Member
Joined: 11/13/2009 Posts: 15
|
Hi,
How do I add EO.Web.Menu items programmatically in page load when the menu is a toolbar custom item?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, You will need to use something like this to get the Menu first:
Code: C#
EO.Web.Menu menu = (EO.Web.Menu)
ToolBar1.Items[x].CustomItemInstance.FindControl("Menu1");
Once you have the menu, everything else is the same. Thanks!
|
|
Rank: Member Groups: Member
Joined: 11/13/2009 Posts: 15
|
I had omitted the findcontrol on the end. Working now. Thanks for your help.
|
|