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 21st, 2012, 07:23 PM
Registered User
 
Join Date: Sep 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default code sample help

I have downloaded the code sample for the book. And when I try to run in vs 2008 for Chapter 5, the one which includes the UI, I do not see anything but the untitled page. I am expecting to see the master page with the menu control and the tree control, but nothing shows up. Is it supposed to be like this?

What did I do wrong ?

Thanks for your help.


Regards,
 
Old September 21st, 2012, 08:04 PM
Registered User
 
Join Date: Aug 2012
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I did not see any refernces to creating the home page (Default.aspx?). When I did not see the menutabs or memu treee, I started the debugger when I had the Administration.aspx file open. VS started the applicaton on the Administration page and I was able to verify the functionaliy of the menu-tabs and menu-tree.
 
Old September 26th, 2012, 10:55 AM
Registered User
 
Join Date: Sep 2012
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default

If you tried to run the Default.aspx page then you would see only a blank page. If you open the page and look at it you will see that it dosen't use the Mater page so you will not get all the things that the master page supplies. You can compare this to the ErrorPage.aspx as it does use the Master Page. Open both of them up in VS and compare the basic code; you will see the difference.

Keep in mind that unless you have set a page as the default page to run when viewing using VS it will open (try to open in some cases) the page that you are looking at at the time. You can establish a default page to run by going under the project properties on the web tab and giving it a deafult page to look at. If you select Default.aspx then you wont be able to look at other pages unless you type their location into the address bar manually. This is because the default.aspx page is not set up to use a master page.

On another thought, you could delete the Default.aspx page and then add a new one, but this time make sure that it will use a master page.

Hope this helps.


Quote:
Originally Posted by writemycomment View Post
I have downloaded the code sample for the book. And when I try to run in vs 2008 for Chapter 5, the one which includes the UI, I do not see anything but the untitled page. I am expecting to see the master page with the menu control and the tree control, but nothing shows up. Is it supposed to be like this?

What did I do wrong ?

Thanks for your help.


Regards,





Similar Threads
Thread Thread Starter Forum Replies Last Post
C# Sample Code alkos333 BOOK: ASP.NET 3.5 Website Programming Problem Design Solution 1 May 10th, 2010 02:22 PM
want sample code mohiddin52 Access VBA 2 December 16th, 2006 04:54 AM
Need Sample code okshilato SQL Server 2005 0 March 28th, 2006 10:41 AM
Sample Code mirouvor Java Databases 1 January 2nd, 2006 02:28 PM
Where the sample code? rbtcx BOOK: Professional C#, 2nd and 3rd Editions 5 August 21st, 2003 02:58 AM





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