Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 1.1
This is the forum to discuss the Wrox book Beginning ASP.NET 1.1 with Visual C#.NET 2003 by Chris Ullman, John Kauffman, Chris Hart, Dave Sussman, Daniel Maharry; ISBN: 9780764557088
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 1.1 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 January 12th, 2005, 03:31 PM
Registered User
 
Join Date: Jun 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Reuse code the NavBar.ascx

Hi
I am in chapter 12, page 464. The Excerise tells me to put all the code for my navbar user control in a code behind. When i tell the navbar to inherit from the code behind file i get an error "The directive 'Page' is unknown.". I think this is because another page with a Page directive is calling the User Control so I would whind up with two Page directives on one page. What is the resolution?

Thanks





Similar Threads
Thread Thread Starter Forum Replies Last Post
Updated Wrox Code Reuse Policy jminatel Wrox Book Feedback 2 July 1st, 2013 07:30 AM
Reuse Forms and part s of code thillai Visual Basic 2005 Basics 5 March 4th, 2008 10:40 AM
accessing property from code behind in .ascx reks_dnet ASP.NET 1.0 and 1.1 Professional 1 May 23rd, 2007 08:35 AM
Reuse of ASP Code hoffmann Classic ASP Databases 6 August 8th, 2003 10:20 AM





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