I am not sure what I am doing wrong. I have tplaced the code from the Creating Master Page exactly as below:
Code:
<body>
<form id="form1" runat="server">
<div id=âPageWrapperâ>
<div id=âHeaderâ><a href=â~/â runat=âserverâ>Header Goes Here</a></div>
<div id=âMenuWrapperâ>Menu Goes Here</div>
<div id=âMainContentâ>
<asp:ContentPlaceHolder ID=âcpMainContentâ runat=âserverâ>
</asp:ContentPlaceHolder>
</div>
<div id=âSidebarâ>Sidebar Goes Here</div>
<div id=âFooterâ>Footer Goes Here</div>
</div>
</form>
</body>
I get lots of errors, and the Design view states "Error Creating Control - "cpMainContent" No 'runat=server' attribute present on the contentplaceholder tag.
Any light shed will be greatly appreciated.
JP