![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Asp.net
李董
这个作者很懒,什么都没留下…
展开
-
The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)
在使用的时候,会出现这个问题的原因在于,该节点或者是父节点使用了runat="servcer",去掉这句话就行了。原创 2012-02-06 16:12:33 · 903 阅读 · 0 评论 -
Using themed css files requires a header control on the page. (e.g. <head runat=“server” />)
由于项目需要需要将XML字符串显示在浏览器中,具有可收缩的“+”和“-”,通过一段时间的测试,一开始使用Webbrowser,在WPF中的Webbrowser只能Navigate文件才可以显示,如果使用Winform中使用Webbrowser,则需要引用WindowsFormsIntegration和System.Windows.Forms,在WPF中将Winform的Webbrowser放入Wi原创 2012-03-02 11:13:17 · 2141 阅读 · 0 评论