473,396 Members | 1,989 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

master pages contentplaceholder

Hello,
I am using Visual Studio 2005 Beta for the first time and am having
trouble using contentplaceholders. Actually, I am having trouble
declaring them. Here is a snap shot of my master page:
<%@ master language="C#" %>
<html>
<head id="Head1" runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="Form1" runat="server">

<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
</asp:contentplaceholder>
</form>
</body>
</html>

A red line appears underneath contentplaceholder and the mouse over
says "the active schema does not support the element
'contentplaceholder' . Has anyone ran into this problem before?

thanks
Billy
Nov 18 '05 #1
3 2356
Code works fine for me. Can you still compile/run the thing? I've noticed
beta 1's error/warning reporting is on the weak side..

Karl

"Billy Cormic" <bi**********@hotmail.com> wrote in message
news:dd**************************@posting.google.c om...
Hello,
I am using Visual Studio 2005 Beta for the first time and am having
trouble using contentplaceholders. Actually, I am having trouble
declaring them. Here is a snap shot of my master page:
<%@ master language="C#" %>
<html>
<head id="Head1" runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="Form1" runat="server">

<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
</asp:contentplaceholder>
</form>
</body>
</html>

A red line appears underneath contentplaceholder and the mouse over
says "the active schema does not support the element
'contentplaceholder' . Has anyone ran into this problem before?

thanks
Billy

Nov 18 '05 #2
Billy Cormic wrote:
Hello,
I am using Visual Studio 2005 Beta for the first time and am having
trouble using contentplaceholders. Actually, I am having trouble
declaring them. Here is a snap shot of my master page:
<%@ master language="C#" %>
<html>
<head id="Head1" runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="Form1" runat="server">

<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
</asp:contentplaceholder>
</form>
</body>
</html>

A red line appears underneath contentplaceholder and the mouse over
says "the active schema does not support the element
'contentplaceholder' . Has anyone ran into this problem before?

thanks
Billy

Works fine here too.
What if you add another Master page, same result?

//Rutger
Nov 18 '05 #3
thanks guys. i figured as much. this has got to be a problem with
the beta. I'm going to check and make sure I am running the latest
build.

Rutger Smit <ru********@hotmail.com> wrote in message news:<10*************@corp.supernews.com>...
Billy Cormic wrote:
Hello,
I am using Visual Studio 2005 Beta for the first time and am having
trouble using contentplaceholders. Actually, I am having trouble
declaring them. Here is a snap shot of my master page:
<%@ master language="C#" %>
<html>
<head id="Head1" runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="Form1" runat="server">

<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
</asp:contentplaceholder>
</form>
</body>
</html>

A red line appears underneath contentplaceholder and the mouse over
says "the active schema does not support the element
'contentplaceholder' . Has anyone ran into this problem before?

thanks
Billy

Works fine here too.
What if you add another Master page, same result?

//Rutger

Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Scott | last post by:
I'm using a master page (mp_TableMaint.aspx) with one Content area (ID: Content1). Content1 contains several usercontrols, which are hidden. The goal is to show the correct control based on the...
9
by: Andrew Kidd | last post by:
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...
17
by: Rob R. Ainscough | last post by:
Again another simple concept that appears NOT to be intuitive or I'm just stupid. I've read the WROX book and the example doesn't actually show how the .master page links in the other content...
5
by: Ryan | last post by:
Is there any way to apply a master page to existing pages that weren't previously using a master page? VB 2005. Thanks, Ryan
7
by: xkeops | last post by:
Thinking of creating a website, most of the pages will have a general toolbar menu, a content and a footer. The content will be the only one who's gonna change but the rest (header,footer) will...
7
by: TheLongshot | last post by:
I just recently converted a few pages of my application to using master pages. Problem is, in all of my content pages, the contents are centered. I can't figure out why. The markup in the...
3
by: Ronald S. Cook | last post by:
For my web pages that have an associated master page, when I try to work with them in design mode, I get this "gray film" over it and I can edit only the master. How can I get to my page in...
0
by: dixonjm | last post by:
Hi, I have a master page & various pages that will use this master page. Each content page will have a CSS & JS file which will be named the same as the content page. When I try to load the CSS...
1
by: shapper | last post by:
Hello, I created a Master Page in ASP.NET 3.5 and VS 2008. Why is a ContentPlaceHolder inserted on the document head? <head runat="server"> <title></title> <asp:ContentPlaceHolder...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.