Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
100
Grid only on screen freezes IE
posted

Has anyone run into this problem.  I have a grid on a webpage and it will freeze IE 7.  IE will be taking up 97% of CPU time.  It seems to be locked into a loop of somesort.  I can get it to go away if I put a button at the top of the screen and it gets rendered correctly.  This first code will cause the problem:

 <%@ Page Language="VB" AutoEventWireup="false" CodeFile="wfCCUsers.aspx.vb" Inherits="Admin_wfCCUsers" %>

<%@ Register TagPrefix="igtbl" Namespace="Infragistics.WebUI.UltraWebGrid" Assembly="Infragistics35.WebUI.UltraWebGrid.v9.1, Version=9.1.20091.2055, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" %>
<%@ Register Src="UserControls/wcStandardAdminHeader.ascx" TagName="wcStandardAdminHeader"
    TagPrefix="uc1" %>
<!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="Head2" runat="server">
    <title>Console Documents</title>

    <script language="JavaScript" type="text/JavaScript" src="../ScriptFiles/SetWindow.js"></script>

    <script language="JavaScript" type="text/JavaScript">
        ResizeStandardWindow();
    </script>

</head>
<body background="../Images/AdminBackground.gif" onload="bodyOnLoadHandler()" onresize="bodyOnLoadHandler()">
    <form id="form2" runat="server">
    <asp:ScriptManager runat="server" ID="ScriptManager1">
    </asp:ScriptManager>
    <uc1:wcStandardAdminHeader ID="wcStandardAdminHeader1" runat="server" />
    <div align="center">
        <igtbl:UltraWebGrid ID="UltraWebGrid1" runat="server" Height="200px" Width="325px">
            <DisplayLayout AllowColSizingDefault="Free" AllowColumnMovingDefault="OnServer" AllowSortingDefault="OnClient"
                CellClickActionDefault="RowSelect" RowHeightDefault="20px" SelectTypeRowDefault="Extended"
                Version="4.00">
                <HeaderStyleDefault CssClass="HeaderStyle">
                </HeaderStyleDefault>
                <FrameStyle CssClass="FrameStyle">
                </FrameStyle>
                <SelectedRowStyleDefault CssClass="SelectedRowStyle">
                </SelectedRowStyleDefault>
                <RowAlternateStyleDefault CssClass="AlternateRowStyle">
                </RowAlternateStyleDefault>
                <RowStyleDefault CssClass="RowStyle">
                </RowStyleDefault>
            </DisplayLayout>
        </igtbl:UltraWebGrid>
    </div>
    </form>
</body>
</html>

 

But if I put in a button like so right after the FORM tag.  It renders without any problem.

 <asp:Button ID="Button1" runat="server" Text="Button" Width="1px" Height="1px" />

This only happens on Windows XP with IE 6 or 7.  I haven't tested 8 yet.  It runs fine on Windows 7 and IE 8 on my development machine.