Home All Groups Group Topic Archive Search About

Master/Content Page Error in Design/Split View

Author
6 Jan 2009 4:54 PM
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.
--
Nathan Sokalski
njsokal***@hotmail.com
http://www.nathansokalski.com/