Silverlight app disappears on page refresh in IE10

前端 未结 6 802
失恋的感觉
失恋的感觉 2020-12-14 22:26

UPDATE: There is a workaround to the problem. It is to force IE10 into compatibility mode by including one of the following meta tags:



        
6条回答
  •  天涯浪人
    2020-12-14 23:00

    I solved the problem in a very easy way. I Wrote a javascript code at the end of the page (or after the object tag in where is your silverlight app) and set the focus to another element, for example, a link. Example:

    ...bla bla bla

    The shc var is useless, I put just for clarify. Remember: your javascript code must set the focus to another (but focusable) object AFTER the silverlight app object tag was parsed, which means your js code is writen after silverlight app object.

提交回复
热议问题