Hey Guys,
Hope someone can assist. I am experiencing a weird issue. I recently deployed some changes to our Staging Server.
In my Local Development Environment, there are no issues. Tested on IE8, Firefox and Chrome
When I view the same site on our STAGING server, firefox and chrome no issue
but ...
on IE8 returns a JavaScript error
JavaScript Error
Message: '2.offsetHeight' is null or not an object
Line: 12023
Char: 1
Code: 0
URI: http://<server_name>/aspx/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions .....
So after checking all the deployment files were done successfully I then debugged the JavaScript on while running the STAGING version and found that for IE8 in the following code snippet
"if(($telerik.isIE6||$telerik.isIE7||$telerik.quirksMode)&&(i[0].style.height!="")){var j=d("tr > td > div",k);"
$telerik,isIE7 was returning true. Why is it returning true for IE8? no idea. I have tried this one 2 other PC's in the office, same error.
I do not think it is a deployment issue otherwise it would not work perfectly on FF or Chrome.
I don't think It is an issue specific to IE8 because it works perfectly on IE8 running my Local Devt' site, only STAGING has the issue.
When I debugged the JavaScript it was the Telerik.Web.UI.RadListBox._preInitialize which was calling the code with the error so I included a snippet of the ListBox in the Panel.
Any ideas? Any suggestions would be much appreciated.
Thanks
B
Hope someone can assist. I am experiencing a weird issue. I recently deployed some changes to our Staging Server.
In my Local Development Environment, there are no issues. Tested on IE8, Firefox and Chrome
When I view the same site on our STAGING server, firefox and chrome no issue
but ...
on IE8 returns a JavaScript error
JavaScript Error
Message: '2.offsetHeight' is null or not an object
Line: 12023
Char: 1
Code: 0
URI: http://<server_name>/aspx/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions .....
So after checking all the deployment files were done successfully I then debugged the JavaScript on while running the STAGING version and found that for IE8 in the following code snippet
"if(($telerik.isIE6||$telerik.isIE7||$telerik.quirksMode)&&(i[0].style.height!="")){var j=d("tr > td > div",k);"
$telerik,isIE7 was returning true. Why is it returning true for IE8? no idea. I have tried this one 2 other PC's in the office, same error.
I do not think it is a deployment issue otherwise it would not work perfectly on FF or Chrome.
I don't think It is an issue specific to IE8 because it works perfectly on IE8 running my Local Devt' site, only STAGING has the issue.
When I debugged the JavaScript it was the Telerik.Web.UI.RadListBox._preInitialize which was calling the code with the error so I included a snippet of the ListBox in the Panel.
<telerik:RadPanelItem runat="server" Text="Manager Filter (0 Items selected)" Expanded="false" Value="ManagerfilterPanel" Visible="false"><br> <ContentTemplate><br> <div class="item"><br> Search: <telerik:RadComboBox runat="server" ID="cboManagerSearch" ShowToggleImage="false" Width="330" Filter="Contains" DropDownWidth="330" EnableScreenBoundaryDetection="true" NoWrap="true" OnSelectedIndexChanged="cboManager_SelectedIndexChanged" AutoPostBack="true"></telerik:RadComboBox><br /><br> <telerik:RadListBox runat="server" AllowTransferDuplicates="false" Width="400px"<br> Height="265px" AllowTransferOnDoubleClick="true" EnableDragAndDrop="true" Font-Names="Calibri" EnableMarkMatches="true"<br> ID="lstSourceManager" AllowTransfer="true" TransferToID="lstPickedManager" <br> SelectionMode="Multiple" Skin="Windows7" OnClientTransferred="OnClientTransferredManager" Sort="Ascending"><br> <HeaderTemplate><br> <div style=" margin: 0px 0px 0px 10px; padding: 5px 0px 0px 0px; height: 20px; vertical-align: middle;">Managers</div><br> </HeaderTemplate><br> </telerik:RadListBox><br> <telerik:RadListBox runat="server" Font-Names="Calibri" ID="lstPickedManager" Height="265px" EnableMarkMatches="true"<br> Width="380px" AllowTransferDuplicates="false" AllowTransferOnDoubleClick="true" PersistClientChanges="true"<br> EnableDragAndDrop="true" SelectionMode="Multiple" Skin="Default" Sort="Ascending"><br> <HeaderTemplate><br> <div style=" margin: 0px 0px 0px 10px; padding: 5px 0px 0px 0px; height: 20px; vertical-align: middle;">Selected Managers</div><br> </HeaderTemplate><br> </telerik:RadListBox></div><br> </ContentTemplate><br> </telerik:RadPanelItem>Any ideas? Any suggestions would be much appreciated.
Thanks
B