• IE 6下测试有scriptManager控件的页面,内存不断增长


    1)开发工具 VS 2010/VS 2008

    2) 浏览器 IE 6 SP2,操作系统

    3)页面文件如下。每次访问都会使内存以1-3M速度不断增长

    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default3.aspx.cs" Inherits="Default3" %>
    <%@ Register
        Assembly="AjaxControlToolkit"
        Namespace="AjaxControlToolkit"
        TagPrefix="ajaxToolkit" %>
    <!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 runat="server">
        <title>无标题页</title>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
        Only scriptmanager
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
                ControlToValidate="TextBox1" ErrorMessage="请填写快递单号!" Display="Dynamic">
            </asp:RequiredFieldValidator>
            <ajaxtoolkit:validatorcalloutextender ID="ValidatorCalloutExtender1" runat="server"
                TargetControlID="RequiredFieldValidator1">
            </ajaxtoolkit:validatorcalloutextender>

            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>

            <asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine">SAS</asp:TextBox>
            <asp:Button ID="Button1" runat="server"  Text="Button" />
            <asp:CheckBoxList ID="CheckBoxList1" runat="server" Width="221px">
                <asp:ListItem Value="1">11</asp:ListItem>
                <asp:ListItem Value="2">22</asp:ListItem>
                <asp:ListItem Value="3">33</asp:ListItem>
           
            </asp:CheckBoxList>
            <asp:DropDownList ID="DropDownList1" runat="server">
                <asp:ListItem Value="1">11</asp:ListItem>
                <asp:ListItem Value="2">22</asp:ListItem>
                <asp:ListItem Value="3">333</asp:ListItem>
            </asp:DropDownList>
            <asp:CheckBox ID="CheckBox1" runat="server" />
            <asp:LinkButton ID="LinkButton1" runat="server" >LinkButton</asp:LinkButton>
            <cc1:DataGridNavigator ID="DataGridNavigator1" runat="server"
                ExcelName="HELLO" GridID="GridView1" ShowPageNumber="True" />
       
            <asp:ListBox ID="ListBox1" runat="server">
                <asp:ListItem>12</asp:ListItem>
                <asp:ListItem Value="31">1212</asp:ListItem>
            </asp:ListBox>
            <asp:Label ID="Label1" runat="server" Text="SSS"></asp:Label>
        </div>
        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" ShowFooter="True"
            PageSize="200" AllowSorting="True">
            <PagerSettings Mode="NumericFirstLast" NextPageText="Large"
                PageButtonCount="11" Position="TopAndBottom" />
        </asp:GridView>
            <asp:FileUpload ID="FileUpload1" runat="server" />
            <asp:RadioButtonList ID="RadioButtonList1" runat="server">
                <asp:ListItem></asp:ListItem>
                <asp:ListItem Value="1">11111</asp:ListItem>
                <asp:ListItem Value="1">21221</asp:ListItem>
                <asp:ListItem>11</asp:ListItem>
            </asp:RadioButtonList>
        </form>
    </body>
    </html>

  • 相关阅读:
    ajax跨域
    抽奖概率计算
    应用版本
    empty
    java线程池原理
    java队列
    jquery选择器项目实例分析
    jquery操作dom
    40款非常棒的 jQuery 插件和制作教程(系列一)
    vijosP1046 观光旅游(最小环)
  • 原文地址:https://www.cnblogs.com/SharkXu/p/ASPNET_SCRIPTMANAGER.html
Copyright © 2020-2023  润新知