Reputation: 317
When i try to preview a page in my Sitecore solution, i get this asp.net error;
The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
What could be causing this - it is only showing in preview mode, any other works fine?
Upvotes: 1
Views: 1802
Reputation: 32270
Take a look at presentation components troubleshooting document, paragraph 5.2.
Upvotes: 4