iFrame parser error after upgrading to .NET 4.5

后端 未结 10 2165
清酒与你
清酒与你 2020-12-02 19:27

We have recently upgraded all of our WebForms projects to .NET 4.5, and encountered a parser issue when loading pages with an iFrame element. We have corrected

10条回答
  •  醉话见心
    2020-12-02 20:31

    You need to add the following tag:

    
    

    and in the designer, change the control type to:

    System.Web.UI.HtmlControls.HtmlIframe
    

    Add the following in the Web.config:

    
     
    
    

    This should fix it.

提交回复
热议问题