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