FineUI 官方论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

本论坛已关闭(禁止注册、发帖和回复)
请移步 三石和他的朋友们

FineUI首页 WebForms - MVC & Core - JavaScript 常见问题 - QQ群 - 十周年征文活动

FineUI(开源版) 下载源代码 - 下载空项目 - 获取ExtJS - 文档 在线示例 - 版本更新 - 捐赠作者 - 教程

升级到 ASP.NET Core 3.1,快、快、快! 全新ASP.NET Core,比WebForms还简单! 欢迎加入【三石和他的朋友们】(基础版下载)

搜索
查看: 4008|回复: 3

求助:向父页面添加选项卡 在IE11下失效,在IE8下正常

[复制链接]
发表于 2014-11-6 00:56:08 | 显示全部楼层 |阅读模式
本帖最后由 /sun_lion 于 2014-11-6 00:59 编辑

ExtAspNet.dll使用的是3.1.9.2。向父页面添加选项卡 在IE8下正常,在IE11下点击后tab页一闪,然后刷新当前页,没有tab页出现。折腾了一天还没解决,各位大牛们,帮忙看看,谢谢了。
js代码:
var tabs_Main = Ext.getCmp(IDS.tabs_Main);
window.addExampleTab = function (id, url, text, icon) {
        
        X.util.addMainTab(tabs_Main, id, url, text, icon);
    }
当前页面代码:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Cube2.aspx.cs" Inherits="Management_Cube_Cube2" %>
<!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 id="Head1" runat="server">
    <title>科技创新</title>
    <link rel="stylesheet" type="text/css" href="../Css/main.css" />
    <script type="text/javascript">
        if (top == window) {
            window.location.href = "../default.aspx#/Cube/cube2.aspx";
        }
        function openCube1() {
            var node = {
                attributes: {
                    href: "/DeptControl_JHTJ/JHZB/Default.aspx?Standby1=计划指标&Category=计划统计",
                    icon: "~/Management/Icons/folder_star.png"
                },
                text: "计划指标",
                id: "Cube2Child1"
            };
            parent.addExampleTab.apply(parent, [node]);
          }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <table style="margin:0 auto;margin-top:60px">
        <tr>
            <td>
                <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="../Icons/Cube21.jpg"
                    />               
            </td>
        </tr>
    </table>
    <extageManager ID="pm_Main" AutoSizePanelID="rpnl_Main" runat="server" />
    </form>
</body>
</html>


发表于 2014-11-22 10:55:06 | 显示全部楼层
对Ie11样式有些不兼容
发表于 2017-4-28 16:43:12 | 显示全部楼层
请问楼主解决了吗?  我也遇到这个问题了
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|FineUI 官方论坛 ( 皖ICP备2021006167号-1 )

GMT+8, 2024-3-29 20:12 , Processed in 0.050891 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表