Master/Content Page Error in Design/Split View

  • Thread starter Nathan Sokalski
  • Start date
N

Nathan Sokalski

I have Master and Content Pages that have the following ContentPlaceHolder
and Content controls:

<asp:ContentPlaceHolder ID="cphContentArea" runat="server"/>

<asp:Content ID="cntContentArea" ContentPlaceHolderID="cphContentArea"
runat="server">.</asp:Content>

My page works when I debug the application, but Design and Split View give
the following error:


Master Page error
The page has one or more <asp:Content> controls that do not correspond with
<asp:ContentPlaceHolder> controls in the Master Page.
Correct the problem in Code View:
..cphContentArea

Why is Visual Studio 2008 complaining about this? Any help would be
appreciated. Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top