SCRIPT5007 Error, IE 10

8 posts, 0 answers
  1. Rich
    Rich avatar
    3 posts
    Member since:
    May 2011

    Posted 04 Mar 2013 Link to this post

    Hi,

    I upgrade to IE 10 today and was debugging my website that uses Telerik AJAX Controls (Version 2011.2.915.40) and am getting a

    JavaScript runtime error: SCRIPT5007: Unable to get property 'documentElement' of undefined or null reference
    ScriptResource.axd, line 147 character 2


    This happens when I click the arrow on the combobox (also happens when I hover over a RadGrid).
    I noticed that it happens only when I am debugging the site on IE10 (Even happens if I choose 'Start without debugging' option in VS 2010).

    If I host the site on IIS 7.5 and open it in IE 10, then I don't get the JavaScript error, however the combobox does not drop down.

    This does not happen in any other browser (Firefox and Chrome).

    I appreciate any suggestions to fix this.

    Regards,

    Yash
  2. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 07 Mar 2013 Link to this post

    Hi Yash,

    This issue seems to the same as described in this article. Please test the suggested solution and let us know what is the result. If the issue still persists, I would like to ask you to open a support ticket, along with a runnable sample attached, demonstrating the faced exception.

    Kind regards,
    Hristo Valyavicharski
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Piyushkumar
    Piyushkumar avatar
    25 posts
    Member since:
    Nov 2010

    Posted 15 Jul 2013 Link to this post

    Hi,

    I am having same issue. It works OK on IE10 compatibility mode, Chrome, FF etc. Issue is with IE 10 non-compatibility mode.

    I tested the suggested solution. The sample page provided loads OK and works without any JavaScript error.
    However, my combo-box error is still there. Here is my partial code. The error appears as soon as click on the dropdown.


    <telerik:RadComboBox ID="ddl1" runat="server" AutoPostBack="True" ExpandDirection="Up" Font-Size="8pt" Font-Names="arial, helvetica, sans-serif" NoWrap="true"></telerik:RadComboBox>

    SelectedItems = ItemTypeList.GetItemTypeList()
            With ddl1
                .Items.Clear()
                .SelectedValue = Nothing
                .SelectedIndex = -1
                .DataSource = SelectedItems
                .DataTextField = "Name"
                .DataValueField = "INumber"
                .DataBind()
                .Items.Insert(0, New RadComboBoxItem("-- Select --", "0")) 
            End With

    Thanks,
    Piyush
  5. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 18 Jul 2013 Link to this post

    Hi Piyush,

    This code seems to be working fine on IE 10 in Non-compatible mode. Please watch this video.
    Which version of Telerik assemblies are you using? Please let me know if I had missed something in my tests.

    Regards,
    Hristo Valyavicharski
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  6. Piyushkumar
    Piyushkumar avatar
    25 posts
    Member since:
    Nov 2010

    Posted 18 Jul 2013 Link to this post

    Hi Hristo,

    Thank you for your prompt reply.

    It is the latest version "2013.2.611.40". I just tried to change my existing asp.net DDL to RadComboBox and it started giving the said JS error.

    The difference between my version and your video is..
       - I am NOT using asp.net RadScriptManager, RadStylesheetManager, RadAjaxManager, JQuery, Core.js
       - I am using asp.net script manager
       - I also do have <asp:AsyncPostBackTrigger ControlID="ddl1" EventName="SelectedIndexChanged" />

    Can that make a difference ?

    But I am glad that it is working as per your video.
    I will try to fix it.

    Thanks a lot
  7. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 23 Jul 2013 Link to this post

    Hi Piyushkumar,

    I don't think these differences could be the reason. See this video, the combo seems to be working correctly without them. Would you please provide a little bit more information about what else should be done to replicate the issue locally?

    Regards,
    Hristo Valyavicharski
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  8. Gregory
    Gregory avatar
    3 posts
    Member since:
    Apr 2012

    Posted 16 Oct 2013 Link to this post

    Hi Hristo,

    I have the same exact issue as described by Yash. I just happen to upgrade to this version 2013.2.717.35 latetly and I'm getting the js error. All other browsers work fine including compatibility mode. It is just IE10 in native mode that is causing the problem.

    I checked with Fiddler the trafic and I was able to see both MicrosoftAjax and MicrosoftAjaxWebForms javascripts. I though I might as well give a try to the hotfix Microsoft issued mentioned in the article you suggested. No luck either.

    One thing I have to add here is the fact that I'm using the Telerik binaries for .Net 2.0 as we cannot upgrade yet to 4.0. Also, cannot use compatibility mode or other modes. We need to target IE10 native mode.

    Can anyone help please?

    Thanks in advance,
    Greg.
  9. Gregory
    Gregory avatar
    3 posts
    Member since:
    Apr 2012

    Posted 18 Oct 2013 Link to this post

    Please ignore my plevious post. It works fine now. I found out that I had messed up with the versions of the Telerik dlls.

    Sorry for the confussion,
    Greg
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017