Welcome Guest Search | Active Topics | Sign In | Register

Converting AspxLabs Slidemenu to EO Slidemenu Options
Jim
Posted: Friday, March 27, 2009 6:53:14 PM
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

eo_support
Posted: Friday, March 27, 2009 7:44:17 PM
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.aspx

The main change is now there are several navigational controls, including Menu, SlideMenu, TabStrip and TreeView all inheriting from a common base class BaseNavigator.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.