Solved

ComponentArt Menu Control

Posted on 2010-08-30
1
796 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
1 Comment
 
LVL 29

Accepted Solution

by:
Kumaraswamy R earned 500 total points
Comment Utility
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

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.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

771 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now