Open GoogleCodeExporter opened 9 years ago
Never mind, I found the answer on your Google groups forum:
http://groups.google.com/group/sharp-architecture/browse_thread/thread/ff0e33a5e
df9aeb2/f8c69996ac0a44ca?lnk=gst&q=The+Controls+collection+cannot+be+modified+be
cause+the+control+contains+code+blocks+(i.e.+%3C%25+...+%25%3E).#f8c69996ac0a44c
a
You have to wrap a line in Site.Master with an asp.PlaceHolder tag:
<asp:PlaceHolder runat="server" id="mainScripts">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="<%= ResolveUrl("~") %>Content/Site.css" rel="stylesheet"
type="text/css" />
</asp:PlaceHolder>
Google group discussion seems to indicate this is problem with older versions
of MVC
(RC1) but I got the error running MVC 1.0.
Original comment by rja...@gmail.com
on 6 Nov 2009 at 5:10
Original issue reported on code.google.com by
rja...@gmail.com
on 6 Nov 2009 at 3:47