Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio
This is the forum to discuss the Wrox book ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solution by Vincent Varallo; ISBN: 9780470396865
Welcome to the p2p.wrox.com Forums.

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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old October 11th, 2010, 09:46 PM
Registered User
 
Join Date: Sep 2010
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy 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 01:55 PM. Reason: simplified
Reply With Quote
  #2 (permalink)  
Old November 25th, 2010, 01:39 PM
Registered User
 
Join Date: Nov 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I copied the code from the downloaded code into the file instead of typing the code from the book. It worked for me, try it.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chap 15 pg 532 tomche BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 10 April 2nd, 2010 03:37 PM
Chap 1 pg 48 OpenStream not referencing tomche BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9 3 September 22nd, 2009 11:58 AM
return *this - Chap 8 pg 418 proslambano BOOK: Ivor Horton's Beginning Visual C++ 2005 0 March 10th, 2007 12:19 PM
Typo on pg.98 nguyendh BOOK: Ivor Horton's Beginning Visual C++ 2005 0 June 25th, 2006 03:10 AM



All times are GMT -4. The time now is 08:57 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.