I'm using the Menu Rounder Courner example to add a menu item dynamically via C# and it works fine code wise, but the submenu items/surronding box display distorted like there is a css missing. Below is code example while Menu1 is the ID of the menu. MyPlans is the menu item added as the first item on the menu list. I't using the menu-round corner html example code. Is there something I'm missing? Thanks.
EO.Web.MenuItem Item1 = new EO.Web.MenuItem("(");
Item1.LookID= "None";
Item1.Image.Url="00000301";
Item1.Text.Padding.Left=2;
Menu1.Items.Insert(0, Item1);
EO.Web.MenuItem Plans = new EO.Web.MenuItem("MYPLANS");
Plans.LookID = "None";
Menu1.Items.Insert(1, Plans); //Insert into the second position.
EO.Web.MenuItem Item3 = new EO.Web.MenuItem("|");
Item3.LookID = "None";
Item3.Image.Url = "00000303";
Menu1.Items.Add(Item3);
//Lets add the submenus to the MYPLANS menu item.
EO.Web.MenuItem subItem2 = new EO.Web.MenuItem();
subItem2 = Plans.SubMenu.Items.Add("");
subItem2.LookID= "submenu_top";
subItem2.ItemID= "top_border";
EO.Web.MenuItem subItem3 = new EO.Web.MenuItem();
subItem3 = Plans.SubMenu.Items.Add("MySubMenuItem1");
EO.Web.MenuItem subItem4 = new EO.Web.MenuItem();
subItem4 = Plans.SubMenu.Items.Add("MySubMenuItem2");
EO.Web.MenuItem subItem5 = new EO.Web.MenuItem();
subItem5 = Plans.SubMenu.Items.Add("");
subItem5.LookID = "submenu_bottom";
subItem5.ItemID = "bottom_border";