Link to home
Start Free TrialLog in
Avatar of cenetadmin
cenetadmin

asked on

ComponentArt Menu Control

I currently am using the old version of Infragistic's menu control CYBERAKT.WebControls.Navigation...Want to upgrade to their new control but need to figure out how to convert some of current code using the new properties.  i have the following routine that I used to load up the old menu but the new version doesn't have a MenuGroup property.  How would I re-write this using the new control? ComponentArt.Web.UI.Menu?
            private void AddLeftNavBottom(MenuGroup newGroup, string linkText, string linkPath, string menuID)
            {
                  MenuItem newItem;

                  newItem = newGroup.Items.Add();
                  newItem.Width = "120";
                  newItem.Label = linkText;
                  newItem.URL = linkPath;
                  newItem.LeftIconWidth = 20;

                  if (this.Page.menuID == menuID)
                        newItem.LeftIcon = this.Page.BaseSURL("images/Site/menu_check.gif");
                  else
                        newItem.LeftIcon = this.Page.BaseSURL("images/Site/menu_empty.gif");

                  return;
            }
ASKER CERTIFIED SOLUTION
Avatar of Kumaraswamy R
Kumaraswamy R
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial