Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1149
  • Last Modified:

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;
            }
0
cenetadmin
Asked:
cenetadmin
1 Solution

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now