找回密码
 立即注册

QQ登录

只需一步,快速开始

dxhshitc

论坛元老

27

主题

75

帖子

1万

积分

论坛元老

积分
16235

活字格认证

QQ
dxhshitc
论坛元老   /  发表于:2012-7-17 17:55  /   查看:11140  /  回复:17
当我在html里面使用 <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />的时候farpoint 6.0 出现了问题。在IE上我点击单元格毫无反应。我用Farpoint 自带的sample上试验了下,发生同样的问题。这是什么问题?是farpoint不支持?

17 个回复

倒序浏览
iceman
社区贡献组   /  发表于:2012-7-17 18:13:00
沙发
回复 1楼dxhshitc的帖子

你好,问题正在处理中,明天回复。
回复 使用道具 举报
dxhshitc
论坛元老   /  发表于:2012-7-17 22:22:00
板凳
回复 2楼iceman的帖子

我测试了下,当我使用farpoint 5.0 for asp.net的时候,在firefox中,点击单元格的时候,if(!IsPostBack){}中的内容会再一次执行。但是在IE里使用 <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />的时候没有任何问题。
回复 使用道具 举报
iceman
社区贡献组   /  发表于:2012-7-18 14:29:00
地板
回复 3楼dxhshitc的帖子

dxhshitc 你好,
我使用下面代码测试没有出现楼主所说的问题。测试环境 VS2010 &amp;&amp; Spread for.NET 6.0

  1. <html xmlns="http://www.w3.org/1999/xhtml">
  2. <head runat="server">
  3.     <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
  4.     <title></title>
  5. </head>
  6. <body>
  7.     <form id="form1" runat="server">
  8.     <div>
  9.         <FarPoint:FpSpread ID="FpSpread1" runat="server" BorderColor="Black" BorderStyle="Solid"
  10.             BorderWidth="1px" Height="200" Width="400">
  11.             <CommandBar BackColor="Control" ButtonFaceColor="Control" ButtonHighlightColor="ControlLightLight"
  12.                 ButtonShadowColor="ControlDark">
  13.             </CommandBar>
  14.             <Sheets>
  15.                 <FarPoint:SheetView SheetName="Sheet1">
  16.                 </FarPoint:SheetView>
  17.             </Sheets>
  18.         </FarPoint:FpSpread>
  19.     </div>
  20.     </form>
  21. </body>
  22. </html>
复制代码

请问楼主使用  自带的sample 名称是?楼主能否提供测试 Demo 。
回复 使用道具 举报
dxhshitc
论坛元老   /  发表于:2012-7-18 17:22:00
5#
回复 4楼iceman的帖子

我用的是这个Program Files (x86)\GrapeCity\Spread .NET 6\ASP.NET\v6.0.3501\Samples\Cs\spWebProductTourCS。 然后问题是使用了 <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />在IE下不能选中单元格。
回复 使用道具 举报
iceman
社区贡献组   /  发表于:2012-7-19 12:28:00
6#
回复 5楼dxhshitc的帖子

你好,
不好意思,使用相同的 Demo 测试我这边仍然没有重现问题。
如果新建工程还会出现同样问题吗?
Untitled.png
回复 使用道具 举报
dxhshitc
论坛元老   /  发表于:2012-7-19 15:54:00
7#
回复 6楼iceman的帖子


1.PNG 还是不行,我用的是Website, <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />使用之后,在IE下边不能选,而且格式也与不使用的时候不同。
Demo.rar (1.86 MB, 下载次数: 907)
回复 使用道具 举报
iceman
社区贡献组   /  发表于:2012-7-19 17:17:00
8#
回复 7楼dxhshitc的帖子

你好,
    由于我这边没有 Spread .NET 6 3501 版本安装包,所以我使用 3505 版本测试楼主的 Demo,正常显示。
    如果简单的测试 Demo 都不支持的话,就是产品不兼容该模式。
    建议进行产品升级。
回复 使用道具 举报
dxhshitc
论坛元老   /  发表于:2012-7-19 20:54:00
9#
回复 8楼iceman的帖子

您好,我已经安装了最新版本的Farpoint 6 for .NET。 但是似乎也不支持这个。
回复 使用道具 举报
dxhshitc
论坛元老   /  发表于:2012-7-19 22:51:00
10#
回复 8楼iceman的帖子

在IE上我按了F12用develop tool查看javascript的运行情况,发现当页面打开的时候它直接会有一个错误“Object does not support this property or method”大概是这个地方“var a=c[&quot;on&quot;+d]” 在/WebResource.axd自动生成文件里面。
而且当我点击单元格的时候也有错误The object does not support property or method &quot;createEvent&quot;
大概是这个地方“var b=c.createEvent(&quot;Events&quot;)”
1.GIF
2.GIF
而且似乎在IE7,IE8的环境下都不行。
谢谢
回复 使用道具 举报
12下一页
您需要登录后才可以回帖 登录 | 立即注册
返回顶部