You are currently viewing the BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
the controls are there in the A1.FrameworkControls.
in the page at the following tags:
<ctrl:MenuTabs ID = "MenuTabs" runat="server" />
the MenuTabs is underlined with a green line saying that the element is not known.
I am using Visual studio 2010 and i am wondering if there is a difference with the 2008 for loading the server controls.
in the master page code the Menutabs and MenuTree do not exist.
here is the code:
public partial class EAD : System.Web.UI.MasterPage
protected void Page_Load(object sender, EventArgs e)
ENTUserAccountEO currentUser = ((BasePage)Page).CurrentUser;
//Set the top menu properties
MenuTabs.MenuItems = Globals.GetMenuItems(this.Cache);
MenuTabs.RootPath = BasePage.RootPath(Context);
MenuTabs.CurrentMenuItemName = ((BasePage)Page).MenuItemName();
MenuTabs.UserAccount = currentUser;
//Set the side menu properties
MenuTree.MenuItems = Globals.GetMenuItems(this.Cache);
MenuTree.RootPath = BasePage.RootPath(Context);
MenuTree.CurrentMenuItemName = ((BasePage)Page).MenuItemName();
MenuTree.UserAccount = currentUser;