Hi all,
When developing ASP.Net applications using
Telerik Controls, you may have come across this error saying "telerik
Unable to get property 'documentElement' of undefined or null reference"
which will ask you to debug using the javascript debugger.
I came across this error when working with
Telerik Controls in IE 10. When the browser mode is changed to IE 9, the issue
fixed. But this is not good for your Client.
If you are using a Telerik version which is
outdated you will face this problem. One thing you can do is to upgrade your Telerik
version.
Next you can fix this issue by adding the
following lines in your web page.
<head runat="server">
<!-- Mimic Internet Explorer 9 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9" />
</head>
Another fix that is discussed in various posts in web is to
edit the web.config file as follows. (This fix didn’t work for me and I have
also seen others who have not been able to fix by editing the web.config file.)
Anyway following is the way you can do that.
<system.webServer>
<httpProtocol>
<customHeaders>
<clear />
<add name="X-UA-Compatible" value="IE=9"/>
</customHeaders>
</httpProtocol>
</system.webServer>
Hope this helps, Thanks J