Silverlight 2不在IE7 IE8 Firefox 3上呈现内容 [英] Silverlight 2 Does not render content on IE7 IE8 Firefox 3

查看:128
本文介绍了Silverlight 2不在IE7 IE8 Firefox 3上呈现内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个非常简单的silverlight xaml页面显示文本框和一个按钮。

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

当我在IE6上运行我的应用程序时,它运行正常。但对于IE7 IE8和FF3 - 它不显示任何内容。该页面呈现为空白。

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>

有没有人知道什么是silverlight内容没有渲染?

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

推荐答案

我找到了答案......!只需在StackOverflow上保留问题/答案,以便其他人可以找到similer问题的答案:

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

IE7 IE8和FF3不接受100%的值作为高度或宽度或SL2对象。将高度和宽度更改为px值(对于ex 800px),这将解决问题。

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.

谢谢

这篇关于Silverlight 2不在IE7 IE8 Firefox 3上呈现内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆