Some notes on software development... RSS 2.0
# Thursday, 01 May 2008

When I changed the ContentPlaceHolderID in the Master Page (and the content pages) and then tried to view and content pages in design mode I got the following error:

"The page has one or more <asp:Content> controls that do not correspond with <asp:ContentPlaceHolder> controls in the Master Page"

image

For some reason the Visual Studio 2008 web page designer mode does not like having XML shorthand notation of the <title /> tag in the <head> section in the master page.

So this causes the error:
image

Changing the <title /> to <title></title> fixes the problem:

image 

Job done.

Thursday, 01 May 2008 13:43:40 (GMT Standard Time, UTC+00:00)  #    -
Web Dev
Navigation

Sign In
Extras
Statistics
Total Posts: 116
This Year: 0
This Month: 0
This Week: 0
Comments: 36
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2018
Hadrian Phillips

All Content © 2018, Hadrian Phillips
DasBlog theme 'Business' created by Christoph De Baene (delarou)