I'm going through Visual Web Developer 2008 Step by Step. It's for the Express edition and I'm using Visual Studio 2008 Standard with Visual Web Developer 2008 installed.
In Chapter 5 of the book you add a master page, insert a table into it and merge some of the cells in the table and then you create a nested master page. I've followed all the instructions exactly more than once starting over from scratch but after adding the nested master page and adding some contentplaceholder controls to the nested master page per the book when I run, the nested master page content never displays. I just get the default.aspx page.
I'm adding the nested master as instructed by right clicking the master page, selecting add new item and then selecting master page, naming the nested master main and selecting the select master page check box along with the place code in separate file check box. Then I select the master page created before and click ok. ContentPlaceHolder controls are added with some text to the nested master. When project is run you never see the nested master just the default.aspx that was created earlier.
Maybe someone could give me some hints as to what I should do or check.
![]() |
0 |
![]() |
Have a read here
http://waxtadpole.wordpress.com/2009/01/16/master-page-content-not-visible-visual-studio-2008/
Paul.
If you want Reflexology in Sydney then click on the link...
![]() |
0 |
![]() |
Hey,
I had the same problem using the same book...same situation, same lesson.
The problem surfaced shortly after adding the nested master for default.aspx. The design view stopped displaying the page, I could only see the source view.
I finally had to complete the rest of the controls for the Default.aspx page in a temp.aspx and copy the code over because I could not see the Default page in the design view.
Thinking it was a resource issue I added 1GB memory...no change. So gave up.
I checked several forum sites and could not find an answer. So, you are not alone, if you get an answer to this, please let me know what you found out.
BTW - Every project I have started since without nested master pages seems to work fine in design view.
![]() |
0 |
![]() |
I've deleted the nested master and have found that I can work fine between the master page and the default.aspx page. If at some point in the future I find it's necessary to use a nested master then I'll deal with that problem then.
I never had a problem in Visual Web Developer 2008 not being able to view the designer but I remember having that problem in Visual Basic 2008 Express. I ended up solving that problem by uninstalling Visual Basic 2008 Express and downloading and installing Visual Basic 2008 Express with SP1. I presently have Visual Studio 2008 Standard with SP1. Do you have the SP1 service pack installed for Visual Web Developer 2008? That may very well solve your problem of not being able to get into the designer if you don't have the service pack.
![]() |
0 |
![]() |
Same experience as others in this thread. The only thing I can add is that this seems to be an intermittent problem for me: usually vwd 2008 express doesn't display the extra contentplaceholders (from the nested master), but sometimes it does. And for those times it does work, I can't figure out why.
Only other thing to add is that I've installed vwd 2008 express on two different computers and am experiencing same issue on both machines.
![]() |
0 |
![]() |
Since I got rid of the nested master page I haven't had any problems like what I discussed in the first post. There's usually more than one way to do anything so I'm sure you guys can get by by simply not using a nested master. I also stopped using tables recently and found that that solved other problems that were created when I was trying to mix tables and DIV. Sometimes doing a little more work using a smaller number of different tools can solve your problem.
![]() |
0 |
![]() |