Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 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 9th, 2009, 12:14 PM
Authorized User
 
Join Date: Nov 2009
Posts: 15
Thanks: 0
Thanked 1 Time in 1 Post
Default No Master Page checkbox

I am trying now to apply this material to my own work and find a problem right out of the chute. Created a masterpage.master, now trying ot apply it. When I Add New page, there is not checkbox for language or master page in the dialog box where I enter the page name. Any thoughts??
 
Old December 9th, 2009, 01:01 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Did you create a Web Site Project (File | New Web Site) or a Web Application Project (File | New Project).

You can check your current site by looking at your code behind files. If you have two (a designer file) then you created a WAP and not a WSP which in turn has a specific Web Content Forms as a web form with a master page.

Cheers.

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old December 9th, 2009, 01:04 PM
Authorized User
 
Join Date: Nov 2009
Posts: 15
Thanks: 0
Thanked 1 Time in 1 Post
Default

Thanks - I created a project, not a website so that must be it. But what then is a Project, since the purpose of the software is to develop a website? Why would you ever use that? Just curious.
 
Old December 9th, 2009, 01:48 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Yeah, confusing terms, You can run a project with the WSP that results in a web application, or you can build a product with the WAP that results in a web site ;-) What's in a name....

Both models have their own advantages. WSP are easier to create and update (also on the server). WAPs follow a more strict pattern, are easier to work with in a team setting and are easier to protect on the server (or more difficult to update, depending on how you look at it). Each type has a different model in Visual Studio and a different compilation model at run-time.

Peter has more on the differences: http://www.compiledthoughts.com/2008...n-project.html

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old December 9th, 2009, 02:36 PM
Authorized User
 
Join Date: Nov 2009
Posts: 15
Thanks: 0
Thanked 1 Time in 1 Post
Default

Thanks a lot for your comments and the link. Very helpful.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Master Page Method: Code-Behind for Content Page kwilliams ASP.NET 2.0 Professional 3 June 2nd, 2008 12:57 PM
Master Page and Content Page with Java script Harjinder ASP.NET 2.0 Professional 1 February 1st, 2008 10:31 AM
Access Master page control from Content page. angshujit ASP.NET 2.0 Basics 3 January 11th, 2007 06:20 AM
Bookmark this page link in Master page dschips ASP.NET 2.0 Basics 5 January 8th, 2007 11:05 AM
content page viewstate value in Master Page cbe_seenu ASP.NET 2.0 Professional 0 August 1st, 2006 01:01 AM





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