Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution 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 December 10th, 2004, 11:53 AM
Registered User
 
Join Date: Dec 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Create a new project or just a file?

Hello all,

When creating the Navigator.cs (the file that generates the XML menu), by adding a new project by right-clicking the Solution and then "C# Library" (like the book says) I notice that the intellisense doesn't respond to System.Web.UI; only System.Web. But if instead right-click the main-project, add a New Folder, name it "Controls" and then add my class file under that folder, that problem disappears, but instead I'm not getting a separate assembly (my Controls.dll) in the bin folder. (Hence I can't reuse that control later on if I would like to). Why is that? What should I do?

(By the way, I really like the approach this book has taken, in that I get an understanding of how, and more importantly why, I should create an application a certain way and how everything ties in together (with the XML, stored proc. etc), as opposed to getting code-snippets thrown at me, i.e. "This is how you create a Datagrid" :) Granted, I'm a beginner and get stuck on stupid things like the above mentioned and I don't understand everything either, but those are minor details and can be studied elsewhere. No other book has presented the "big picture" as well as this book has, and that's priceless, in my opinion :)
 
Old December 11th, 2004, 01:33 AM
Registered User
 
Join Date: Dec 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This problem was resolved by simply adding the reference of System.dll and possibly System.Design (ehm :) after which the intellisense worked fine.. :) But now I get this error instead:

"System.Xml.XmlException: 'xsl' is an undeclared namespace. Line 2, position 2.
"

(in Navigator.cs) and this line is in red:

xslt.Load(Context.Server.MapPath(transformFilePath ));

 
Old December 13th, 2004, 08:32 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Did you get the code from the code download? They don't show all of the code in the book. The bookonly explains some of the code routines, but they didn't show all of the code.

Eric
 
Old December 14th, 2004, 10:29 PM
Registered User
 
Join Date: Dec 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello Eric, thanks for your reply :) Yes, I did download the code for the book and it did help actually.. my last problem with xsl being an undeclared namespace was due to a typo I had made in the xslt file, and not in the code-behind file as I first thought.. weird :)

regards






Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot create project sandhya12_rcnair ASP.NET 1.0 and 1.1 Basics 4 October 10th, 2007 11:28 AM
not able to create project najeeb ASP.NET 1.0 and 1.1 Professional 1 March 6th, 2006 06:00 AM
How to create a new team project? hemanth_p2p Visual Studio 2005 1 February 9th, 2006 05:00 PM
How To Create other Language Project. umeshayk VS.NET 2002/2003 0 January 9th, 2004 12:13 AM





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