Re: Master Pages not displaying ... ?





Thanks for the reply.

I've got the default ContentPlaceHolder provided, into which I've put a
couple of images and a horizontal rule,

Here's the source:

<%@ Master Language="VB" CodeFile="MasterPage.master.vb"
Inherits="MasterPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>

<html xmlns="http://www.w3.org/1999/xhtml"; >
<head runat="server">
<title>Master Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
<img alt="imgLogo" id="imgLogo" src="images/oreilly_logo.gif" />
<img alt="imgHeader" id="imgHeader"
src="images/oreilly_header.gif" /><br />
<hr />
</asp:contentplaceholder>
</div>
</form>
</body>
</html>

"clickon" <clickon@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:BC9A6A14-2595-4DA9-8E8F-7DACCA12AA2C@xxxxxxxxxxxxxxxx
Have you got a ContentPlaceHolder control in your master page?

"Andrew Kidd" wrote:

Hi,

I've just been working through several examples of how to create Master
pages and then create content pages which are linked, but I cannot see
the
Master page when I'm viewing the content page in "Design", nor do I see
it
when I'm viewing the page in the browser.

I'm adding the Master page through the Add New Item dialog, and creating
Web
Forms with the "Select Master Page" option checked, then selecting the
Master page from the subsequent dialog.

I've tried the web application both using the VS 2005 built-in webserver
and
my local IIS ... but nothing seems to work.

Is there anything obvious that I'm doing wrong?

Thanks in advance

PS Running Windows XP Pro on my laptop and here's a dump from the VS
about
box ...

Microsoft Visual Studio 2005
Version 8.0.50727.42 (RTM.050727-4200)
Microsoft .NET Framework
Version 2.0.50727

Installed Edition: Professional

Microsoft Visual Basic 2005 77626-009-0000007-41131
Microsoft Visual Basic 2005

Microsoft Visual C# 2005 77626-009-0000007-41131
Microsoft Visual C# 2005

Microsoft Visual C++ 2005 77626-009-0000007-41131
Microsoft Visual C++ 2005

Microsoft Visual J# 2005 77626-009-0000007-41131
Microsoft Visual J# 2005

Microsoft Visual Web Developer 2005 77626-009-0000007-41131
Microsoft Visual Web Developer 2005

Crystal Reports AAC60-G0CSA4B-V7000AY
Crystal Reports for Visual Studio 2005


SQL Server Analysis Services
Microsoft SQL Server Analysis Services Designer
Version 9.00.1399.00

SQL Server Integration Services
Microsoft SQL Server Integration Services Designer
Version 9.00.1399.00

SQL Server Reporting Services
Microsoft SQL Server Reporting Services Designers
Version 9.00.1399.00





.



Relevant Pages

  • Re: Master Pages not displaying ... ?
    ... If you have the above line in your child page then it won't display ... from the master page because there is nothing to display. ... Microsoft SQL Server Analysis Services Designer ... Microsoft SQL Server Integration Services Designer ...
    (microsoft.public.dotnet.framework.aspnet)
  • Master Pages not displaying ... ?
    ... I've just been working through several examples of how to create Master ... Microsoft SQL Server Analysis Services Designer ... Microsoft SQL Server Integration Services Designer ... Microsoft SQL Server Reporting Services Designers ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Master Pages not displaying ... ?
    ... There is nothing to display in the masterpage apart from the default images ... I've just been working through several examples of how to create Master ... Microsoft SQL Server Analysis Services Designer ... Microsoft SQL Server Integration Services Designer ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Please answer my queries for fresh Installation
    ... You can restore MSDB as well as master. ... > SQL Server, It will create Master, MSDB databases. ...
    (microsoft.public.sqlserver.server)
  • Re: Most efficient way to process this set of records??? (Bill Vaughn)
    ... I thought Bill's books were strictly for SQL Server. ... What I mean by "Composite" record is a group of columns from several ... Use datarelation between a master to the new detail (as opposed to ...
    (microsoft.public.dotnet.framework.adonet)