我有一个.aspx页面,用于显示BlueDot或ConnectToQuickBooks按钮。从IE页面收集到的结果HTML如下:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>TrueCommerce to Intuit Connect Page</title>
<script type="text/javascript" src="https://appcenter.intuit.com/Content/IA/intuit.ipp.anywhere.js"></script>
<script type="text/javascript">
intuit.ipp.anywhere.setup({
menuProxy: 'http://localhost:1384/MenuProxy.aspx',
grantUrl: 'http://localhost:1384/OauthGrant.aspx'
});
</script>
</head>
<body>
<div id="blueDotDiv">
<ipp:bluedot></ipp:bluedot>
</div>
</body>
</html>
这段代码在IE中无法显示,在Chrome和Firefox中可以正常显示。
我使用了W3C标记验证服务来验证HTML,只有在“”标记上收到了一个错误,这是可以预料的。
我正在使用以下IE浏览器
IE版本:8.0.7601.17514 64位版 我们正在使用Silverlight,并嵌入了ASPX页面,利用Infragistics HTML Viewer Control - Silverlight xamHtmlViewer。当从xamHtmlViewer内部调用或直接调用时(虽然在Chrome和Firefox中都可以工作),BlueDot菜单不会出现。
有什么想法吗?