Solved

ComponentArt Menu Control

Posted on 2010-08-30
1
865 Views
Last Modified: 2013-11-15
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
Comment
Question by:cenetadmin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 29

Accepted Solution

by:
Kumaraswamy R earned 500 total points
ID: 33593659
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question