BasePage (Chap 4 pg 98)
I made it to Page 98 of chap 4 and I am having problems with getting the MenuTab to work.
protected void Page_Load(object sender, EventArgs e)
ENTUserAccountEO currentUser = ((BasePage)Page).CurrentUser;
//Set the top menu properties
MenuTabs1.MenuItems = Globals.GetMenuItems(this.Cache);
MenuTabs1.RootPath = BasePage.RootPath(Context);
MenuTabs1.CurrentMenuItemName = ((BasePage)Page).MenuItemName();
MenuTabs1.Roles = Globals.GetRoles(this.Cache);
The error says there is no reference to MenuTabs1, BasePage, or Globals.
The code is located in the code file "PaidTimeOff.Master.cs".
What must I do to fix error?
Last edited by NetWorld; October 14th, 2010 at 02:55 PM.