FineUI 官方论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

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

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

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

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

搜索
查看: 3949|回复: 1
打印 上一主题 下一主题

【不支持】IE6内核下 ButtonType为Submit多次点击暴JS代码 bug

[复制链接]
跳转到指定楼层
楼主
发表于 2014-1-9 19:12:49 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
反馈BUG
程序版本: FineUI v3.3.2.1
浏览器: Chrome 其它(请在帖子中注明浏览器及版本) 
BUG截图:
BUG地址: -
因为系统IE为11,没有找到IE6
所以测试浏览器为百度浏览器的兼容模式(IE核)
当Submit按钮的运算比较耗时时 如果前台多次继续点击按钮(按钮为Endable False状态)
就会出现暴JS问题,IE11没有发现 其它浏览器Chrome有发现过.如果buttonType为Button状态则不会出现.



hello.aspx文件代码
<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="hello.aspx.cs" Inherits="EmptyProjectNet20.hello" %>
<!DOCTYPE html>
<html>
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <xageManager ID="ageManager1" runat="server" />
        <x:Form ID="Form2" runat="server" ShowHeader="false" ShowBorder="false" LabelAlign="Right" LabelWidth="70px" EnableBackgroundColor="true">
            <Rows>
                <x:FormRow ID="FormRow1" runat="server">                  
                    <Items>
                        <x:TextBox ID="txt1" Label="测试" runat="server" Width="300px"></x:TextBox>
                        <x:Button Text="点击弹出对话框" Type="Submit" runat="server" ID="btnHello" ValidateForms="Form2">
                        </x:Button>
                    </Items>
                </x:FormRow>
            </Rows>
        </x:Form>
    </form>
</body>
</html>
后台代码
using System;using System.Collections.Generic;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using FineUI;namespace EmptyProjectNet20{    public partial class hello : System.Web.UI.Page    {        protected void Page_Load(object sender, EventArgs e)        {        }        protected void btnHello_Click(object sender, EventArgs e)        {            for (int i = 0; i < 1000000; i++)            {                txt1.Text = ("你好 FineUI!" + i);            }        }    }}



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
沙发
发表于 2014-1-11 14:53:43 | 只看该作者
IE6不支持,看支持的浏览器:http://fineui.com/demo
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2024-9-28 21:25 , Processed in 0.047987 second(s), 21 queries , Gzip On.

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

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