Link to home
Start Free TrialLog in
Avatar of 16spam16
16spam16Flag for United States of America

asked on

IE7 AJAX UpdatePanel - Error htmlfile: Unknown runtime error Message received.

In IE 7 I receive this error when postback and i display the UpdatePanel...
Firefox seems alright.
I am stumped on this one.
I have provide the page html source, minus all the detailed control code to save space.
any help is appreciated.

"htmlfile: Unknown runtime error"

in

ScriptResource file
at line
"finally {"


            finally {
                if (_this._xmlHttpRequest != null) {
                    _this._xmlHttpRequest.onreadystatechange = Function.emptyMethod;
                    _this._xmlHttpRequest = null;
                }
            }



Site background:
VS2008 Pro.
ASP.Net 2.0/3.5
ASP.Net language
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="default.aspx.vb" Inherits="MyWebsite.default" %>
<%@ Register src="crtlMenu.ascx" tagname="crtlMenu" tagprefix="uc1" %>
<%@ Register src="crtlFooter.ascx" tagname="crtlFooter" tagprefix="uc2" %>
<%@ Register src="crtlHeader.ascx" tagname="crtlHeader" tagprefix="uc3" %>
<%@ Register src="crtlLoad_Search.ascx" tagname="crtlLoad_Search" tagprefix="uc4" %>
<!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="HEAD1" runat="server">
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <title>MyWebsite.com | My Home Company</title>
  
    <link href="css/theme.css" rel="stylesheet" type="text/css" />
    <link href="css/theme2.css" rel="stylesheet" type="text/css" />
   
    
   
    
    <style type="text/css">
        #Table1
        {
            width: 812px;
        }
        #sectioncontent
        {
            width: 300px;
        }
        .style1
        {
            width: 87px;
        }
    </style>
   
    
   
    
</head>
<body>
<form id="Form1" method="post" runat="server">
  <div id="container">
    <table cellpadding="0" cellspacing="0" id="container-table">
    <tr>
      <td colspan="2"><div id="header-all"><div id="header-navbar">
	<div id="header-nav-left">
  	<div id="header-greeting">
 
      <p><uc3:crtlheader ID="crtlHeader1" runat="server" />
        </p>
    </div>
    <div id="navcontainer">
 
          </div>
    <!-- end #navcontainer -->
	</div>
  <!-- end #header-nav-left -->
 
  <!-- end #header-nav-right -->
</div>
<!-- end #header-navbar -->
<div id="header">
  <div id="header-logo"><img src="images/MyWebsite.png" alt="" /></div>
  <!-- end #header-logo -->
  <!-- end #nav -->
</div>
<!-- end #header -->
<div id="header-navbar2">
  <ul id="navbar2-list">
      <%--MY MENU USERCONTROL IS HERE--%>
  </ul>
</div>
<!-- end #header-navbar -->
</div></td>
    </tr>
    <tr>
 
      <td colspan="2">
      <div id="header-title">
</div></td>
    </tr>
    <tr bgcolor="#FFFFFF">
      <td valign="top">
        <table cellpadding="0" cellspacing="0" style="width: 991px">
        <tr>
          <td colspan="2">
            <div id="full-width-title">
 
              <h2>Page Title</h2>
              <p class="subtitle">Page description goes here.</p>
            </div>
 
            
          </td>
        </tr>
        <tr>
          <td valign="top">
            <div id="content">
 
              <div id="widget-x" class="content-widget-x">
                
                <div id="main-story-content">
                <!-- Script Start -->
                <asp:scriptmanager         ID="ScriptManager1" runat="server">    </asp:scriptmanager>
                <!-- Script End -->            
                <div id="portlet about-magazine" style="margin: 10px 0px 10px 0px; border: 3px solid #3C4559; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #3C4559; width: 818px;">
    <div class="portlettitleabout">
                                                     Search Criteria<asp:textbox ID="txtiKey" runat="server" BorderStyle="None" Enabled="False" 
                                        Visible="False" Width="56px">txtiKey</asp:textbox>
 
    </div>
 
      <div id="portletbody">
<table cellpadding="3" cellspacing="3" id="Table1">
              <tr>
                  <td>
                  <%--MY SEARCH CRITERIA IS HERE--%>
                        </td>
              </tr>
              </table>      
    </div>
    </div>
                <%--START UPDATE PANEL--%>
                <asp:updateprogress ID="UpdateProgress1" runat="server">
                    <ProgressTemplate>
                        <div style="width: 341px">
                        <uc4:crtlload_search ID="crtlLoad_Search1" runat="server" />
                        </div>        
                    </ProgressTemplate>
                </asp:updateprogress>
                <%--END UPDATE PANEL--%>                                                                                     
    
                <div id="portlet about-magazine2" style="margin: 10px 0px 10px 0px; border: 3px solid #3C4559; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #3C4559; width: 973px; background-color: #E7E7D5;">
    <div class="portlettitleabout">
                                                    &nbsp;Search Results</div>
 
      <div id="portletbody2">
                        <asp:updatepanel ID="UpdatePanel1" runat="server">
                            <contenttemplate>
                            <table cellpadding="3" cellspacing="3" id="sectioncontent" bgcolor="#E7E7D5">
              <tr>
                  <td width="100%">
                                    <%--INVENTORY GRID START--%>
                                        <div id="panInventory" runat="server">
                                            <table id="Table11" cellspacing="0" cellpadding="0" align="left" border="0" bgcolor="#E7E7D5">
                                                
                                                <tr>
                                                
                                                <td valign="middle" align="left" bgcolor="#E7E7D5">
                                                    <table id="Table14"  cellspacing="2" cellpadding="0" width="100%" border="0" bgcolor="#E7E7D5">
                                                        <tr>
                                                    
                                                    <td height="21" align="left" class="style1">
                                                        <asp:linkbutton ID="btnPrintGrid2" runat="server" CssClass="headerlink">Print</asp:linkbutton>
                                                            </td>
                                                            <td align="left" height="21">
                                                                <asp:label ID="lblRecordCount" runat="server" CssClass="label" ForeColor="#084F9E" Width="125px"></asp:label>
                                                            </td>
                                                    </tr>
                                                    </table>
                                                    <asp:panel id="panError" runat="server" Visible="False" Width="600px" Height="30px" CssClass="alertmessage">
                                                        <table class="plaintext" id="Table20" height="28" cellspacing="0" cellpadding="2" width="568" border="0">
                                                            <tr>
                                                                <td  nowrap = "nowrap"  width="29">
                                                                <asp:Image id="Image3" runat="server" ImageUrl="image/alert_anim.gif" BackColor="Transparent"></asp:Image>
                                                                </td>
                                                                <td  nowrap = "nowrap" >
                                                                <asp:Label id="lblErrorMsg" runat="server" Width="528px" CssClass="plaintextbold" Font-Bold="False"></asp:Label>
                                                                    
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </asp:panel>
                                                    <div id="divPrint">
                                                        <%--MY GRIDVIEW CONTROL IS HERE--%>                  
                                                    </div>
                                                    </td>
                                                
                                                </tr>
                                                
                                            </table>
                                        </div>
                                    <%--INVENTORY GRID ENDS--%>                  
                                                            
                      </td>
              </tr>
              </table>  
                            </contenttemplate>
                            <triggers>
                                <asp:asyncpostbacktrigger ControlID="btnSearch" EventName="Click" />
                            </triggers>
                        </asp:updatepanel>  
                  
    </div>
    </div>
                </div>
                
                      
                      
 
              </div>
            </div>
          </td>
          <td valign="top">&nbsp;</td>
        </tr>
        
        </table>
      </td>
      <td valign="top">
      <%--<div id="sidebar-4">
 
<div class="portlet about-magazine">
    <div class="portlettitleabout">
        Client Login</div>
 
      <div class="portletbody">
<table cellpadding="3" cellspacing="3" width="300">
              <tr>
                  <td class="style2">
                      User Name</td>
                  <td>
                                        <span>
                                        <asp:textbox ID="txtLogin" runat="server" CssClass="textbox" TabIndex="1" Width="175px"></asp:textbox>
                                        </span>
                                    </td>
              </tr>
              <tr>
                  <td class="style2">
                      Password</td>
                  <td>
                                        <span>
                                        <asp:textbox ID="txtPassword" runat="server" CssClass="textbox" tabIndex="2" TextMode="Password" Width="175px"></asp:textbox>
                                        </span>
                                    </td>
              </tr>
              <tr>
                  <td class="style2">
                      &&nbsp;</td>
                  <td>
                                        <span>
                                        <asp:button ID="btnLogin" runat="server" CssClass="button" OnClick="LoginClick" TabIndex="3" Text="Login" Width="80px" />
                                        </span>
                                    </td>
              </tr>
              <tr>
                  <td colspan="2">
                                <asp:label id="lblErrorMsg" runat="server" BackColor="Transparent" Width="250px" ForeColor="#990000"
											                                Font-Size="XX-Small" Font-Names="Verdana" Font-Bold="True"></asp:label></td>
              </tr>
              </table>      
    </div>
    </div>
</div>--%>
 
</div>
        <tr bgcolor="#FFFFFF">
      <td colspan="2">
          &nbsp;</td>
    </tr>
        <tr>
      <td colspan="2">
      <div id="footer">
<div id="footer-terms">
    <%--MY FOOTER USERCONTROL IS HERE--%>
</div>
</div></td>
    </tr>
  
</form>
    <script type="text/javascript">
function CallPrint(strid)
    {
         var prtContent = document.getElementById(strid);
         var WinPrint = window.open('','','left=0,top=0,width=1,height=1,toolbar=0,scrollbars=0,status=0');
         WinPrint.document.write(prtContent.innerHTML);
         WinPrint.document.close();
         WinPrint.focus();
         WinPrint.print();
         WinPrint.close();
//         prtContent.innerHTML=strOldOne;
    } 
    </script>
</body>
</html>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of 16spam16
16spam16
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial