none
Load Page take long time

    Question

  •  I create web page retrieve data from DataBase but this page takes a long time above 3minutes in load when used internet explorer but this problem disappear when using edge or other browsers, how can solve the problem in internet explorer to run page normally.

    page 

    <%@ Page Title="Employee Time" Language="C#" MasterPageFile="~/Master1.Master" AutoEventWireup="true" CodeBehind="EmployeeCard.aspx.cs" Inherits="AICTweb.EmployeeCard" %>

    <%@ Register Assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

    <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    </asp:Content>
    <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
            <div>
            <asp:Table ID="t1" runat="server" Width="100%">
                <asp:TableRow>
                    <asp:TableCell>
                        <asp:Label ID="LBL_Staffid" Text="Staff ID:" runat="server" />
                    </asp:TableCell><asp:TableCell>
                        <asp:TextBox ID="TXT_staffid" runat="server" AutoPostBack="True" BackColor="#FFFFE1"></asp:TextBox>
                        <asp:RequiredFieldValidator Style="color: Red; visibility: hidden;" ID="RequiredFieldValidator2" runat="server" ControlToValidate="TXT_staffid" Font-Underline="False" Text="!"></asp:RequiredFieldValidator>

                    </asp:TableCell><asp:TableCell>
                        <asp:Label ID="LBL_Fromdate" Text="Date From:" runat="server" />
                    </asp:TableCell><asp:TableCell>
                        <telerik:RadDatePicker ID="RDP_FromDate" runat="server" DateInput-BackColor="#FFFFE1"></telerik:RadDatePicker>
                        <asp:RequiredFieldValidator Style="color: Red; visibility: hidden;" ID="RFV1" runat="server" ControlToValidate="RDP_FromDate" Font-Underline="False" Text="!"></asp:RequiredFieldValidator>

                    </asp:TableCell><asp:TableCell>
                        <asp:Label ID="Label1" Text="Date To:" runat="server" />
                    </asp:TableCell><asp:TableCell>
                        <telerik:RadDatePicker ID="RDP_Dateto" runat="server"></telerik:RadDatePicker>
                    </asp:TableCell></asp:TableRow><asp:TableRow>
                    <asp:TableCell>
                    </asp:TableCell><asp:TableCell>
                    </asp:TableCell><asp:TableCell>
                    </asp:TableCell><asp:TableCell>
                    </asp:TableCell><asp:TableCell>
                    </asp:TableCell><asp:TableCell>
                        <asp:Button ID="BTN_submit" runat="server" Text="Generate" OnClick="BTN_submit_Click" />
                    </asp:TableCell></asp:TableRow></asp:Table></div><div>

            <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="True" ClientIDMode="Predictable" EnableTheming="False" HasRefreshButton="True" Height="1268px" HyperlinkTarget="" ShowAllPageIds="True" ToolPanelWidth="200px" ViewStateMode="Enabled" Width="846px" HasCrystalLogo="False" ToolPanelView="None" HasToggleGroupTreeButton="False" HasToggleParameterPanelButton="False" EnableDatabaseLogonPrompt="False" EnableParameterPrompt="False" ReuseParameterValuesOnRefresh="True" OnLoad="CrystalReportViewer1_Load" Visible="False" OnNavigate="CrystalReportViewer1_Navigate" OnReportRefresh="CrystalReportViewer1_ReportRefresh" SeparatePages="False" GroupTreeImagesFolderUrl="" HasGotoPageButton="False" HasPageNavigationButtons="False" ToolbarImagesFolderUrl="" /></div>

    </asp:Content>


    Monday, December 11, 2017 11:43 AM

All replies

  • Hi,

    you should be using the HTML5 document type declaration and using IE8 emulation or higher.... tables are known to render slowly in legacy intranet applications that are using an Emulation mode of IE8 and lower, and that do not have a valid doctype.

    Use the Emulation tab of the f12 developer tool to determine which IE emulation mode (aka documentMode) IE is using in your Company Environment... eg. IE7 - "Include intranet sites in Compatibility View", "IE8 - Enterprise Site Mode lists".

    Regards.


    Rob^_^

    Thursday, December 14, 2017 1:11 AM