Silverlight 2 Does not render content on IE7 IE8 Firefox 3

≡放荡痞女 提交于 2019-12-11 05:32:55

问题


I have a very simple silverlight xaml page displays textbox and a button.

When i run my application on IE6 it works fine. But for IE7 IE8 and FF3 - it does not display any content. The page is rendering blank.

<div style="height: 100%; width:100%;">
<asp:Silverlight ID="Xaml1" runat="server" Source="~/ClientBin/test.xap" MinimumVersion="2.0.31005.0"
Width="100%" Height="100%" HtmlAccess="Enabled" />
</div>

Does anyone has any idea what silverlight content is not rendering ?


回答1:


I found an answer...! Just keeping the question / answer on StackOverflow so others can find the answer for similer question :

IE7 IE8 and FF3 does not accept value 100% as height or width or SL2 object. Change Height and Width to px value (for ex 800px) and that will solve the problem.

Thanks



来源:https://stackoverflow.com/questions/1050399/silverlight-2-does-not-render-content-on-ie7-ie8-firefox-3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!