Nested master page doesn't display after it's added

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
EntityX
1/27/2009 8:11:29 PM
asp.net.web-dev-2008-express 1205 articles. 0 followers. Follow

5 Replies
611 Views

Similar Articles

[PageSpeed] 23
Get it on Google Play
Get it on Apple App Store

 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
prowla2003
1/28/2009 7:14:38 AM

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
Nicodemus
1/28/2009 9:03:18 PM

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
EntityX
1/30/2009 12:35:27 AM

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. Sad

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
djrichard64
4/27/2009 4:24:06 PM

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
EntityX
4/27/2009 4:47:02 PM
Reply:

Similar Artilces:

Web page doesn't show master page's contents
 Hi All!I've designed a master page and after that I added a webpage in my project and mentioned its master page at adding time of the web page mean while adding the web page, I checked the "Select master page" check box and then added the web page after specifying the web page but the web page doesn't show any content of the master page. Here is the code of the web page:Start of code________________________________________________________________________<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false"...

content page doesn't display from nested master pages
I have two master pages, one nested. The first one (cuw.master), of course, feeds into the second one (profile.master), which in turn I would expect to feed into the desired content page (reg.aspx). The profile.master, in design view, displays what I want to see on the content page; however, the content page displays only what's on the first master page (cuw.master). It's possible that I have the master base and master child confused, but it doesn't seem like it. I have another master page that I use successfully but this instance, with nested pages, has me befuddled. Please see ...

When exiting a video playing with .wmv, you click the upper right "x" and you don't get back to the web homepage, you get stuck with a white, empty page. Explorer doesn't do that. It's an irritant f
Name: David Morgan Email: Dave_at_NewsCarsonCity.com Product: Firefox Summary: When exiting a video playing with .wmv, you click the upper right "x" and you don't get back to the web homepage, you get stuck with a white, empty page. Explorer doesn't do that. It's an irritant for those of us who want to use Mozilla, period. Comments: See summary. Browser Details: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ...

'Can't save web pages, Ctrl+S. 'Can save same pages from I.E
Name: Del Dyreson Email: drdyreson_at_earthlink.net Product: Firefox Summary: 'Can't save web pages, Ctrl+S. 'Can save same pages from I.E Comments: 'Can't save web pages, Ctrl+S. 'Can save same pages from I.E. I'm running Win2000Pro, Ver 5.0 (Build 2195, Service Pack 4). Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4 ...

The page executes and doesn't give any error. But it also didn't display the results, the page is blank.
The page executes and doesn't give any error. But it also didn't display the results, the page is blank.thank hi post your code and aspx files please regardsASP.NET Hosting (HostingFest)...

How come FileFlash's home page doesn't get logged in Mozilla v1.7.5's history?
Is it me or is http://fileflash.com/ (not the links inside) home page not being recorded in Mozilla v1.7.5's history? I just noticed it. I looked at the source code, but didn't see anything interesting. I was using Windows XP Professional SP2 (all updates). Thank you in advance. :) -- Allah's Apostle said, "Once while a prophet amongst the prophets was taking a rest underneath a tree, an ant bit him. He, therefore, ordered that his luggage be taken away from underneath that tree and then ordered that the dwelling place of the ants should be set on fire. Allah...

"Internal Master page" 's Page_Load event doesn't fired?
Hi, all:   I have a problem: master page 2  is a content page of master page 1 , a page then is master page 2's content page. but during run time, after leaf page's Page_Load,  master page 1 's Page_Load will be fired, master page2 's page_Load ( and page_init , too) doesn't execute at all. why ? thanks ~ Hi, You used the nested master page right? But I test the nested master page on my local machine, the internal master page's page_load event can be fired, below is my nested master page code: 1, the outer master page: <%@ Master Language=&q...

'View In Browser'
 Just installed VS 2008 and started to view the ASP.Net videos to experiment with the sample code. Win/XP Pro SP-2 Verizon/Yahoo DSL   A simple web site was created with a label, checkbox and login control.  When I click on the 'start debugging' arrow, the website displays correctly with the following URL: http://localhost:1261/adminTest/Default.aspx It makes NO difference if  'Use dynamic ports' is set to True or False for the project... If I try to view a page using the 'View In Browser' method or attempt to invoke the ASP.NET Configur...

Label control's text doesn't appear to be set (in the page which has a user control )when trying to update the text property in the FormView's ItemUpdated event
Hi There,I have a user control which hosts a formview control, gridview control and a label control. The grid view is usedto show rows in the DB and when clicked to edit each row, a form view opens up in edit mode with that particular row info. So I have nothing in the item template.My first question is..is it mandatory to have smth in the itemtemplate of the form view.I have controls in edititemtemplate and insertitemtemplate.When a particular row is edited, I would like to show a status msg showing that the row has been updated.For this, I use the ItemUpdated event of the formview and try ...

ReportViewer MS Visual Web Dev 2008 Express doesn't work
Hi Just trying to get my had around reportviewer in MS Visual Web Dev 2008 .   I ran RepportViewer.exe redisbution for 2008 on the server but and I cannot see ReportViewer in toolbox under Data in MS Visual Web Dev 2008 installed on the server . So I decided to do it manually but I'm still having an error "Error creating control failed to create designer ..."   I added in web.config that: <add assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> <add assembly="Microsoft...

Program doesn't stop in debugmode on breakpoint (V Web Dev 2008 Express)
Goodday to you all,  When I set a breakpoint in my source- and/or codewindow (image is an example):   The program doesn't stop excecution at that point (of-course there's no yellow arrow shown in the red dot while the program isn't on hold) These are my debugsettings (Via Tools->Options): Any sugestions on this ?Thanks in advance,Ben Is it possible that the line with the breakpoint is never executing?Steve Wellens My blog Yes, I figured that out. When I insert something like this on line 21 MsgBox("Here I am", MsgBoxStyle.Informat...

superreview requested: [Bug 87513] about:<randomness> doesn't display a default page, if the about: topic doesn't exist. : [Attachment 195365] Simple fix
Boris Zbarsky <bzbarsky@mit.edu> has asked Darin Fisher <darin@meer.net> for superreview: Bug 87513: about:<randomness> doesn't display a default page, if the about: topic doesn't exist. https://bugzilla.mozilla.org/show_bug.cgi?id=87513 Attachment 195365: Simple fix https://bugzilla.mozilla.org/attachment.cgi?id=195365&action=edit ...

superreview granted: [Bug 87513] about:<randomness> doesn't display a default page, if the about: topic doesn't exist. : [Attachment 195365] Simple fix
Darin Fisher <darin@meer.net> has granted Boris Zbarsky <bzbarsky@mit.edu>'s request for superreview: Bug 87513: about:<randomness> doesn't display a default page, if the about: topic doesn't exist. https://bugzilla.mozilla.org/show_bug.cgi?id=87513 Attachment 195365: Simple fix https://bugzilla.mozilla.org/attachment.cgi?id=195365&action=edit ------- Additional Comments from Darin Fisher <darin@meer.net> sr=darin ...

superreview granted: [Bug 253507] Stored web page's images doesn't appears in offline mode : [Attachment 154790] Proposed patch
Johnny Stenback (on vacation 8/1 to 8/16) <jst@mozilla.jstenback.com> has granted Boris Zbarsky <bzbarsky@mit.edu>'s request for superreview: Bug 253507: Stored web page's images doesn't appears in offline mode http://bugzilla.mozilla.org/show_bug.cgi?id=253507 Attachment 154790: Proposed patch http://bugzilla.mozilla.org/attachment.cgi?id=154790&action=edit ------- Additional Comments from Johnny Stenback (on vacation 8/1 to 8/16) <jst@mozilla.jstenback.com> Seems reasonable. r+sr=jst ...

Web resources about - Nested master page doesn't display after it's added - asp.net.web-dev-2008-express

Resources last updated: 1/1/2016 8:14:51 AM