This is a migrated thread and some comments may be shown as answers.

Error in IE 10 due to telerik dlls Version=2009.2.826.35

12 Answers 623 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Pranshu
Top achievements
Rank 1
Pranshu asked on 12 Jul 2012, 12:34 PM
When I tried to render Telerik reports(based on Telerik:RadControls) on IE 10 (Windows 8), then I was facing following error:
" SCRIPT5022: NoModificationAllowedError"


After that I overrided function "Telerik.Web.UI.Overlay.prototype"  by the following code::

     Telerik.Web.UI.Overlay.prototype = { initialize: function () {
            var _13f = document.createElement("div");
            _13f.innerHTML = "<iframe>Your browser does not support inline frames or is currently configured not to display inline frames.</iframe>";
            this._element = _13f.firstChild;
            this._element.src = "javascript:'';";
            this._targetElement.parentNode.insertBefore(this._element, this._targetElement);
            if (this._targetElement.style.zIndex > 0) {
                this._element.style.zIndex = this._targetElement.style.zIndex - 1;
            }
            this._element.style.position = "absolute";
            this._element.style.border = "0px";
            this._element.frameBorder = 0;
            this._element.style.filter = "progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)";
            this._element.tabIndex = -1;
            this.updatePosition();
        }, dispose: function () {
            if (this._element.parentNode) {
                this._element.parentNode.removeChild(this._element);
            }
            this._targetElement = null;
            this._element = null;
        }, get_targetElement: function () {
            return this._targetElement;
        }, set_targetElement: function (_140) {
            this._targetElement = _140;
        }, updatePosition: function () {
            this._element.style.top = this._toUnit(this._targetElement.style.top);
            this._element.style.left = this._toUnit(this._targetElement.style.left);
            this._element.style.width = this._targetElement.offsetWidth + "px";
            this._element.style.height = this._targetElement.offsetHeight + "px";
        }, _toUnit: function (_141) {
            if (!_141) {
                return "0px";
            }
            return parseInt(_141) + "px";
        }
    };

 
Now, I am facing another error:
"SCRIPT5007: Unable to get property 'documentElement' of undefined or null reference"

I think all these errors are coming due to IE document Mode: standard is not handling these telerik dlls of above mentioned version
So, any suggestion or solution is welcomed

12 Answers, 1 is accepted

Sort by
0
Cat Cheshire
Top achievements
Rank 1
answered on 13 Jul 2012, 08:13 AM
I think that you should upgrade to the latest Telerik version.
In 2009 there was no IE10 - so I suppose that it is not supported in there.
Since IE10 is still in release preview phase - I suppose that even the latest Telerik version can have a few issues under it.

0
Pranshu
Top achievements
Rank 1
answered on 13 Jul 2012, 02:33 PM
Yes, Cheshire u r right.
I upgraded telerik dlls from version 2009.2.826.35 to 2012.2.607.35. Now, its working.
Thanx  :)
0
Pankaj
Top achievements
Rank 1
answered on 10 Apr 2013, 01:08 PM
Hi thanks for suggestions ,  how to update telerik controls so that its work in IE10
0
Helen
Telerik team
answered on 11 Apr 2013, 07:55 AM
Hi,

You should upgrade RadControls for asp.net ajax to version 2012.2.607 or higher. Here are detailed steps how to upgrade to another version or license.

Regards,
Helen
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.
0
Chintan
Top achievements
Rank 1
answered on 21 Apr 2013, 02:05 AM
Hi Support,

I am having similar issue with IE 10. I am using Telerik (version 2010.3.1317.20) on asp.net 2.0 website. As this is the last supported version from Telerik for asp.net 2.0 websites, I am unable to update to the latest version.

Any other help will be really appreciated. Thanks

Error: "SCRIPT5007: Unable to get property 'documentElement' of undefined or null reference
Telerik.Web.UI.WebResource.axd, line 151 character 2"

Regards,
Chintan Desai
0
Helen
Telerik team
answered on 24 Apr 2013, 10:42 AM
Hello,

In 2010 when we released our 2010.3.1317 version, there was no IE10. We provided support for it afterwards.
One possible solution is to use the IE9 meta tag:
http://stackoverflow.com/questions/14382636/how-to-force-ie10-to-render-page-in-ie9-document-mode

Kind regards,
Helen
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.
0
Alexander
Top achievements
Rank 1
answered on 24 Apr 2013, 02:10 PM
We currently cannot upgrade to the newest version.

We have tried to force meta:
<meta http-equiv="X-UA-Compatible" content="IE=9" />

and also other values, like EmulateIE9, 8, 7...

But the error does not disappear!

Do you have WORKING workarounds for "Unable to get property 'documentElement' of undefined or null reference" issue in IE10??
0
Chintan
Top achievements
Rank 1
answered on 24 Apr 2013, 10:54 PM
Hello Hellen, Thanks for your response.

Before posting, I had already tried to set meta tags for IE 9 and I have also tried [cscript adsutil.vbs set w3svc/HttpCustomHeaders "X-Powered-By: ASP.NET" "X-UA-Compatible: IE=9"] on the server as suggested in http://stackoverflow.com/questions/14022545/telerik-datepicker-in-ie-10-is-not-working but with no luck.

As most of the computers have automatically upgraded to IE 10, we would like to know urgently what else we could try to make telerik controls to work. Issues being with controls like RadCombo and RadWindow for me (Radbutton works though).

Thanks for your help.

Regards,
Chintan
0
Helen
Telerik team
answered on 25 Apr 2013, 02:59 PM
Hi Chintan,

You may try the following:

http://www.anthonysblog.co.uk/post/2013/03/05/Telerik-Rad-controls-not-working-with-Internet-Explorer-10 


Kind regards,
Helen
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.
0
Jean-Francois
Top achievements
Rank 1
answered on 29 Apr 2013, 03:11 PM
Hi,
This does not work either.
Do you have any other solution instead of paying 1200$ to have the upgrade version ?
Thanks
0
Misho
Telerik team
answered on 30 Apr 2013, 10:13 AM
Hello,

We are aware of an IIS known issue for IE10 that might be related to the unwanted behavior you are experiencing on your site. There is a patch provided by Microsoft that is necessary to be applied to the server.

For .NET 4.0 check this one: http://support.microsoft.com/kb/2600088
For .NET 2.0:
http://support.microsoft.com/kb/2600100 for Win7 SP1/Windows Server 2008 R2 SP1, Windows Vista/Server 2008, Windows XP/Server 2003
http://support.microsoft.com/kb/2608565 for Win7/Windows Server 2008 R2 RTM

You could find more information at various places on the internet like:

http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/javascript-errors-in-ie10-and-the-site-is-working-fine-in-the-rest-browsers.aspx

http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/asp-net-ajax-on-windows-8-developer-preview.aspx

http://www.hanselman.com/blog/BugAndFixASPNETFailsToDetectIE10CausingDoPostBackIsUndefinedJavaScriptErrorOrMaintainFF5ScrollbarPosition.aspx

If this solution doesn't help you please try to isolate the issue in a sample page that matches your setup with detailed reproduction steps, so we will be able to reproduce and examine it locally on our site.

Regards,
Misho
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.
0
Ana
Top achievements
Rank 1
answered on 05 Jun 2013, 10:11 AM

I found this post while I was looking for a solution to my DNN6 website. The error was (only in IE10)

SCRIPT5007: Unable to get property 'documentElement' of undefined or null reference

I tried almost solutions suggested here, but didn't work for me. So let me share with you what I did to solve this:http://www.40fingers.net/WeblogsNews/Weblogs/tabid/58/ID/123/language/nl-NL/DotNetNuke-6-and-Internet-Explorer-10.aspx

Worked great for me!

Tags
General Discussions
Asked by
Pranshu
Top achievements
Rank 1
Answers by
Cat Cheshire
Top achievements
Rank 1
Pranshu
Top achievements
Rank 1
Pankaj
Top achievements
Rank 1
Helen
Telerik team
Chintan
Top achievements
Rank 1
Alexander
Top achievements
Rank 1
Jean-Francois
Top achievements
Rank 1
Misho
Telerik team
Ana
Top achievements
Rank 1
Share this question
or