Rank: Newbie Groups: Member
Joined: 4/6/2008 Posts: 3
|
Using C#
When I changed the Slidemenu to EO.Web from AspxLabs,Webcontrols, the following statement in C# code behind would not compile:
myTools.MenuItems[2].SubMenu.FindItem("quickCompare").Disabled = true; Compile Error is "EO.Web.Slidemenu does not contain a definition for MenuItems"
Any Ideas why MenuItems can not be found? Has MenuItems changed to something else.
Thanks Jim
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, You will need to use: myTools.Items instead of myTools.MenuItems. Also FindItem now returns a NavigationItem object instead of a MenuItem object. So you may need to cast the return value. You can find the class reference at here: http://doc.essentialobjects.com/library/1/eo.web.aspxThe main change is now there are several navigational controls, including Menu, SlideMenu, TabStrip and TreeView all inheriting from a common base class BaseNavigator. Thanks!
|