Controls Collection cannot be modified
"The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)"
See the solution here: Controls Collection Cannot Be Modified Issue with ASP.NET MVC RC1.
I've come across the issue of not being able to mix modifying the Head's .Controls collection when there's <%%> elements in it, before. Nice to know there's a solution!
See the solution here: Controls Collection Cannot Be Modified Issue with ASP.NET MVC RC1.
I've come across the issue of not being able to mix modifying the Head's .Controls collection when there's <%%> elements in it, before. Nice to know there's a solution!
