Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 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
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 10th, 2004, 11:53 AM
Registered User
 
Join Date: Dec 2004
Location: , , .
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 :)
  #2 (permalink)  
Old December 11th, 2004, 01:33 AM
Registered User
 
Join Date: Dec 2004
Location: , , .
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 ));

  #3 (permalink)  
Old December 13th, 2004, 08:32 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
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
  #4 (permalink)  
Old December 14th, 2004, 10:29 PM
Registered User
 
Join Date: Dec 2004
Location: , , .
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

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
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



All times are GMT -4. The time now is 03:28 PM.


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