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

记着,下午再写!

这个错误是由于在页面中用到asp.net ajax tookit控件中的选项卡控件,然后又用了updatepanel套住!

解决办法:主要是在页面js里面有用到<%=%这个标记。如果用到的话,就把这段移到body下面。就可以了!

posted @ 2011-05-27 11:50  nyth  阅读(590)  评论(0编辑  收藏  举报