InnerException = {" Controls集合无法修改,因为控件包含代码块(即<%...%>)。“} [英] InnerException = {"The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)."}

查看:108
本文介绍了InnerException = {" Controls集合无法修改,因为控件包含代码块(即<%...%>)。“}的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用datepickercontrol时。

i得到了这种类型的错误。

解决它。

when i used datepickercontrol .
i got this type of error.
solve it.

推荐答案

由于您没有发布您的代码,我们无法准确说明该怎么做,但通常会出现此类错误您需要在页面中使用<#而不是< =或<%#而不是<%= >


查看此

http://stackoverflow.com/questions/778952/the-controls-collection-cannot-be-modified-because-the-control-contains-code-bl [ ^ ]



http://stackoverflow.com/questions/1809793 1 / the-controls-collection-无法修改 - 因为-control-contains-code-blo [ ^ ]
since you did not posted your code,We cannot exactly say what to do , but generally for such error You need to use <# instead of <= or <%# instead of <%= in your page

Check this
http://stackoverflow.com/questions/778952/the-controls-collection-cannot-be-modified-because-the-control-contains-code-bl[^]

http://stackoverflow.com/questions/18097931/the-controls-collection-cannot-be-modified-because-the-control-contains-code-blo[^]


这篇关于InnerException = {&quot; Controls集合无法修改,因为控件包含代码块(即&lt;%...%&gt;)。“}的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆