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

在制作DNN皮肤是出现报错:”The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).",这是因为你在皮肤的ASCX文件中使用了类似“<%= ........ %>的代码,把这一段代码改为<%# .............  %>即可解决问题。

posted on 2008-01-14 16:15  m2land  阅读(2092)  评论(6编辑  收藏  举报

导航