?
Solved

ComponentArt Menu Control

Posted on 2010-08-30
1
Medium Priority
?
952 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 2000 total points
ID: 33593659
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
Suggested Courses

770 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