Home
> ASP.NET > Error :(System.Web.UI.HtmlControls.HtmlIframe) is not compatible with the type of control (System.Web.UI.HtmlControls.HtmlGenericControl) in VS2017
Error :(System.Web.UI.HtmlControls.HtmlIframe) is not compatible with the type of control (System.Web.UI.HtmlControls.HtmlGenericControl) in VS2017
Reason for the above error is I have my project in .NET framework 3.5 and I update it to .NET framework 4.5,
Solution for the above error is:
We need to change the *.designer.cs file reference from:
System.Web.UI.HtmlControls.HtmlIframe
to
System.Web.UI.HtmlControls.HtmlGenericControl
Categories: ASP.NET
Comments (0)
Trackbacks (0)
Leave a comment
Trackback
Comments