Archive for Dezember, 2012

ASPX Embedded Code

Dienstag, Dezember 18th, 2012

Error message: The Controls collection cannot be modified because the control contains code blocks (i.e. <% … %>).

<%= %> expressions are embedded into the ASP.NET output as part of the generated Parse Tree class, whereas the <%# %> expressions are embedded at runtime

Thx @ http://www.west-wind.com/weblog/posts/2006/May/27/The-Controls-collection-cannot-be-modified-because-the-control-contains-code-blocks-ie-