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

One very minor JavaScript problem in IE10.

1 Answer 72 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Boris
Top achievements
Rank 1
Boris asked on 01 Apr 2013, 03:57 PM
Just started testing my app in IE10.  

First of all I'd like to say that I'm having no problem at all with the app running on web servers, so long as IE 10 is in 'Compatibility mode'.

The only problem I have is this.  If I run my app locally in VS 2012, it crashes on start up in the first master page.  
In that page I have the following start up script.  It appears that the $get is failing.  The reference to the 'timeoutButton' is null.  The button is a simple HTML input with runat='server'.  (0x800a138f - JavaScript runtime error: Unable to get property 'style' of undefined or null reference) If I continue, I have no problem running the app.

I tried downloading the hotfix recommended by your article (KB2600088) 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.

However when I tried to run it, I got the message: KB2600088 does not apply, or is blocked by another condition on your computer.

In summary, this is an irritation, not a major problem.

 $(document).ready(function () {
                    // Get handle of timeout button.                 
                    var hf = "<%= hfStartTimer.Value %>";
                    timeoutButton = $get('btnTimeout');
                    timeoutButton.style.visibility = 'hidden';
                    if (hf == 'true') {                                              
                        setTimeout(function () { startCounter(); }, "<%= hfTimeOut.Value %>");
                    }                    
                })

1 Answer, 1 is accepted

Sort by
0
Accepted
Vasil
Telerik team
answered on 03 Apr 2013, 09:59 AM
Hello Boris,

I did some research reading the online forums and it seems that some people are unable to use the patch for their .net 4 if an .net 4.5 is installed already on the machine.
Check if this is your case, remove the 4.5, install the hotfix and then install the 4.5 again.
You can still check the web for some other resources:
http://www.bing.com/search?q=KB2600088+does+not+apply%2C+or+is+blocked+by+another+condition+on+your+computer

Regards,
Vasil
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.
Tags
General Discussions
Asked by
Boris
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Share this question
or