天天看点

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文件中使用了类似“<%= ........ %>的代码,把这一段代码改为<%# .............  %>即可解决问题。

继续阅读