找回密码
 立即注册

QQ登录

只需一步,快速开始

fmyuan2000

中级会员

26

主题

58

帖子

516

积分

中级会员

积分
516

活字格认证元老葡萄

fmyuan2000
中级会员   /  发表于:2016-5-27 09:05  /   查看:3148  /  回复:3
在web.config 添加如下配置
<add key="fp_client" value="http://xxx.com/XX/fp_client" />
然后在IE8 下显示不正常,无法输入。
                #region 数字显示分页
                // Display the pager only at the top of the component.
                FpSpread1.Pager.Position = FarPoint.Web.Spread.PagerPosition.Bottom;
                // Display both numbers and arrows by setting mode.
                // Set the mode after the position, otherwise an error.
                FpSpread1.Pager.Mode = FarPoint.Web.Spread.PagerMode.Both;
                // Format the text in the pager at the top.
                FpSpread1.Pager.Align = System.Web.UI.WebControls.HorizontalAlign.Left;
                FpSpread1.Pager.Font.Bold = true;
                FpSpread1.Pager.Font.Name = "Trebuchet MS";
                //FpSpread1.Pager.ForeColor = Color.Brown;
                //FpSpread1.Pager.BackColor = Color.Orange;
                // Display at most four page numbers at a time.
                FpSpread1.Pager.PageCount = 10;

#endregion

使用数字分页,点击其他页面,显示异常。 error.png



3 个回复

倒序浏览
dexteryao讲师达人认证 悬赏达人认证 SpreadJS 开发认证
超级版主   /  发表于:2016-5-27 11:33:38
沙发
您仿真中浏览器文档模式和用户代理字符串是否一致
回复 使用道具 举报
fmyuan2000
中级会员   /  发表于:2016-5-27 13:29:30
板凳
dexteryao 发表于 2016-5-27 11:33
您仿真中浏览器文档模式和用户代理字符串是否一致

是一致的,只有IE8 中不正常, 我们有用到IBM WEBSEAL 反向代理。
     <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:Button ID="btnSave" runat="server" ClientIDMode="Static" CssClass="hidden" OnClick="btnSave_Click" Text="保存" />
                <FarPoint:FpSpread ID="FpSpread1" runat="server" BorderColor="#A0A0A0" BorderStyle="Solid" BorderWidth="1px" ClientIDMode="Static" Height="500px" Width="98%">
                    <CommandBar BackColor="#F6F6F6" ButtonFaceColor="Control" ButtonHighlightColor="ControlLightLight" ButtonShadowColor="ControlDark">
                    </CommandBar>
                    <Sheets>
                        <FarPoint:SheetView SheetName="SOD">
                        </FarPoint:SheetView>
                    </Sheets>
                </FarPoint:FpSpread>
            </ContentTemplate>
        </asp:UpdatePanel>

打开Excel , 切换SHEET 不正常。
回复 使用道具 举报
dexteryao讲师达人认证 悬赏达人认证 SpreadJS 开发认证
超级版主   /  发表于:2016-5-27 14:54:25
地板
通过电话沟通您的问题我已了解,因为涉及到部署环境的问题,这边很难重现出来问题,现在推断是因为代理环境造成资源请求与浏览器期望资源不符,服务器会根据用户浏览器不同返回不同资源。以保证兼容性。您可以对比下开发和生产环境加载的文件内容是否完全一致,先找到问题原因。
我这里会再寻求解决方案,如果有答复会在这里给您留言。
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部