ASP.Net 2.0 PlaceHolder Problems
In a Master Page I have:
<asp:contentplaceholder id="MyPlaceHolder" runat="server">
Welcome to the My Site</asp:contentplaceholder>
Then in my home page I have:
<asp:Content ID="Content1" ContentPlaceHolderID="MyPlaceHolder" Runat="Server" Visible="true">
with code in it. When I preview everything looks fine and the content of my homepage is in the correct place.
However in design mode, on the home page when I try to view in Design mode so that I can place controls etc I receive an error:
Could not match MyPlaceHolder with any contentplaceholder.
I cannot view the page in design mode with this error. I've deleted the contentplaceholder line on the home page and attempted to recreate it, strange that when I enter contentplaceholderid= the system gives me MyPlaceHolder as the only option which is correct.
Why cant it match the contentplaceholder in design mode?

