Wrox Programmer Forums
|
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 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
 
Old September 29th, 2009, 09:24 PM
Registered User
 
Join Date: Sep 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapt. 4 page 98

Having a problem adding the CurrentMenuItemName and RootPath properties to the masterpage page_load event. The BasePage class which is in the app_code folder of the UI seems to be inaccessible from the masterpage.

I've compared my code to the example code and it matches. Am I missing a reference somewhere or will it take care of itself later on the chapter?

Thanks for any suggestions.
 
Old September 30th, 2009, 10:35 PM
Friend of Wrox
 
Join Date: Jun 2007
Posts: 477
Thanks: 10
Thanked 19 Times in 18 Posts
Default

I haven't tried this, but since your Base Page class is in the App_Code folder, this should be easy. Information in App_Code is compiled into the application, you don't even need to a path name, just the class the master page will inherit from. I found a couple pages that include (among many other things) information about the syntax for assigning base classes to Master pages. HTH

http://www.odetocode.com/articles/450.aspx
http://msdn.microsoft.com/en-us/library/c8y19k6h.aspx
__________________
-------------------------

Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe

When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper

Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 4 - Page 98 - IntelliSense hallidayd BOOK: Professional SharePoint 2007 Development ISBN: 978-0-470-11756-9 0 June 19th, 2009 03:50 AM
Problems in Chapt 9 pjwarez BOOK: Beginning Mac OS X Programming 0 August 30th, 2006 02:46 PM
It wont Connect toMySQLChapter 3,Page 95-98, Alej PHP Databases 3 August 29th, 2006 11:37 PM
Chapt 8 Try it out (Inserting).. Page 273 Robert Reno BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 4 February 9th, 2006 06:21 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.