找回密码
 立即注册

QQ登录

只需一步,快速开始

ruby

超级版主

119

主题

149

帖子

1000

积分

超级版主

Rank: 8Rank: 8

积分
1000

活字格认证

ruby
超级版主   /  发表于:2014-2-27 14:01  /   查看:17432  /  回复:23
最近在IE 11 兼容模式下使用 ComponentOne 的时候,出了个 js error.具体的提示信息是:

Unable to get property 'item' of undefined or null reference.

具体的js错误提示的位置在:
function C1QInitPage ()
{
        if (!window.external.ManualRender || window.external.DesignMode)
    {
        // Used to loop through document.all.item("C1QItem"), but when OnLoad is called for the first time,
        // after control creation, document.all.item("C1QItem") is empty (must be an IE bug).
        // Looping through all items checking their id works.
        for (i = 0; i < document.all.length; i++)
        {
            if (document.all.item(i).id == "C1QItem")
            {
                if (window.external.DesignMode || document.all.item(i).C1QItemID == window.external.CurrentItemID)
                    document.all.item(i).all.item("C1QMainMenuButton").style.visibility = "visible";
                else
                    document.all.item(i).all.item("C1QMainMenuButton").style.visibility = "hidden";
            }
        }   
    }
    C1QAdjustScrollbars();
}

出处就在这行 document.all.item(i).all.item("C1QMainMenuButton").style.visibility = "hidden";


我尝试着在我们应用中 覆盖这个js,但是不起作用。

希望得到您们的回复!

非常感谢!

23 个回复

正序浏览
Alice
社区贡献组   /  发表于:2014-11-14 09:51:00
24#
回复 23楼ruby的帖子

Hi, The Step is:
1.Deactivation the license.
2.Unstall the old version of product.
3.Install the new version of product.
4.Activation the license.
5.Update your application created by old version.
请点击评分,对我的服务做出评价!  5分为非常满意!

葡萄城控件服务团队

官方网站: http://www.gcpowertools.com.cn
回复 使用道具 举报
ruby
超级版主   /  发表于:2014-11-13 18:11:00
23#
iceman,
The following is a question of the customer,please follow up,thanks:
"I have still problem and need you help about the follow issue:
http://gcdn.gcpowertools.com.cn/ ... ;postid=58001#58001
Iceman  have got a new build from the development team.
But don't know how to update it on the old version  use the new Build ?
Could you tell me how to do it ?
"
回复 使用道具 举报
davidlee
中级会员   /  发表于:2014-4-18 18:53:00
22#
回复 20楼iceman的帖子

好的,谢谢!
回复 使用道具 举报
iceman
社区贡献组   /  发表于:2014-4-8 09:33:00
21#
回复 19楼davidlee的帖子

请问你的问题是否解决?
回复 使用道具 举报
iceman
社区贡献组   /  发表于:2014-3-28 17:53:00
20#
回复 19楼davidlee的帖子

这个问题在 2014V1 版本中已经修复了,请测试:
http://www.gcpowertools.com.cn/d ... oActiveX_2014v1.zip
回复 使用道具 举报
davidlee
中级会员   /  发表于:2014-3-28 17:00:00
19#
回复 18楼iceman的帖子

Hi Iceman,

是不是没有结果了啊?
回复 使用道具 举报
iceman
社区贡献组   /  发表于:2014-3-12 16:11:00
18#
回复 17楼davidlee的帖子

Hi davidlee,

抱歉让你久等了,目前我还没有收到产品组的反馈。
我已经发送了确认邮件,收到进度反馈后我会通知你。

谢谢
回复 使用道具 举报
davidlee
中级会员   /  发表于:2014-3-12 16:03:00
17#
回复 16楼iceman的帖子

Hi iceman,

is there any news from your production team?
回复 使用道具 举报
iceman
社区贡献组   /  发表于:2014-3-5 18:28:00
16#
回复 使用道具 举报
123下一页
您需要登录后才可以回帖 登录 | 立即注册
返回顶部