(System.Web.UI.HtmlControls.HtmlIframe) is not compatible with the type of control (System.Web.UI.Ht
来源:互联网 发布:ppp数据库 编辑:程序博客网 时间:2024/05/23 18:57
从Framework 2.0-3.5 升级到Framework 4.5时遇到 Iframe 转换为服务器控件遇到不兼容问题
错误信息:
but its type (System.Web.UI.HtmlControls.HtmlIframe) is not compatible with the type of control (System.Web.UI.HtmlControls.HtmlGenericControl).
原因分析:
在.NET Framework 4.5 中, iframe的HTML 标记不再向HtmlGenericControl类的映射,需映射到System.Web.UI.HtmlControls.HtmlIframe
参考文档:
https://briancaos.wordpress.com/2013/08/07/system-web-ui-htmlcontrols-htmliframe-is-not-compatible-with-the-type-of-control-system-web-ui-htmlcontrols-htmlgenericcontrol/
https://support.microsoft.com/zh-cn/help/941824/error-message-when-you-build-an-asp.net-2.0-web-application-in-visual
阅读全文
0 0
- (System.Web.UI.HtmlControls.HtmlIframe) is not compatible with the type of control (System.Web.UI.Ht
- System.Web.UI.HtmlControls
- 类型(System.Web.UI.HtmlControls.HtmlIframe)与控件类型(System.Web.UI.HtmlControls.HtmlGenericControl)不兼容
- System.Web.UI.HtmlControls简介
- System.Web.UI.HtmlControls简介(得到前台HTML的属性)
- The base class includes the field '...', but its type (...) is not compatible with the type of control (...)
- System.Web.UI.Page
- System.Web.UI
- System.Web.UI.WebControls
- Custom control-- Error:System.Web.UI.UserControl' does not contain a definition for 'LoadCatalog ' a
- Type 'System.Web.UI.WebControls.Parameter' does not have a public property named 'DbType'
- Ubuntu Error: the system network service is not compatible with this version
- What events are fired as part of the ASP.NET System.Web.UI.Page lifecycle?
- System.Web和System.Web.UI的区别
- The system is not registered with rhn
- System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermi
- java实现System.Web.UI.ICallbackEventandler
- System.Web.UI.MasterPage 一点理解
- 浅谈服务治理与微服务
- PHP中有关于String字符串的操作
- JVM高级特性与实践(七):九大类字节码指令集(实例探究 )
- Error:Cannot locate factory for objects of type DefaultGradleConnector, as ConnectorServiceRegistry
- 《你不知道的JavaScript》读书笔记一
- (System.Web.UI.HtmlControls.HtmlIframe) is not compatible with the type of control (System.Web.UI.Ht
- Linux的inode的理解
- NOI 2017 场外酱油记
- 136. Single Number
- Linux下MySQL的基础(一)
- 网站模糊测试爆破工具Wfuzz
- MathType6.5公式编辑器的使用
- webview onCreateWindow url 新标签的打开 target="_blank"
- 网站优化时如何做需求分析