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

IE9 Specific Issue With RadWidow - Not Opening Due to .axd and DOM Error

3 Answers 61 Views
Window
This is a migrated thread and some comments may be shown as answers.
jgill
Top achievements
Rank 1
jgill asked on 06 May 2012, 08:15 PM
We're having an issue with IE9 specifically and RadWindows that I am not sure if others are receiving.  In IE9 the iFrame is not being created for a RadWindow and the window never opens.  The JavaScript error that is received when someone clicks on a link that opens a RadWindow in other browsers is the following in IE9.

This occurs the first time the link is clicked (line 627 of the ScriptResource.axd)
SCRIPT5022: DOM Exception: INVALID_CHARACTER_ERR (5) 

var r=($telerik.isIE)?document.createElement("<iframe name='"+w+"'>"):document.createElement("iframe");

This occurs the second time the link is clicked (line 857 of the ScriptResource.axd): 
if(this._reloadOnShow){b=this._getReloadOnShowUrl(b)
}this._iframe.src=b;

The RadControls for ASP.NET AJAX version we are running is: 2009.3 1314 (Jan 14, 2010)

If the document type mode is changed to render as IE8 it works fine, but there is something about IE9 that is not allowing this.

3 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 08 May 2012, 01:47 PM
Hi,

This is a known problem between old version of the RadControls for ASP.NET AJAX and IE9, because this browser handles iframe differently. We have addressed it with Q1 2011 version which was released only a day after the official IE9 release. I advise that you upgrade to the latest version (Q1 2012 SP1 at the moment). If this is not an option for the time being I suggest you examine this thread for more details on the matter and a workaround.

Regards,
Marin
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
Karl
Top achievements
Rank 1
answered on 22 Aug 2012, 10:53 AM
I have the same problem but when I tried to use your  javascript I get error SCRIPT5009: 'Telerik' is undefined .
0
Marin Bratanov
Telerik team
answered on 23 Aug 2012, 03:14 PM
Hi Karl,

Have you tried the script from the last post in the thread? Have you placed the script at the end of the page, after the RadControls to ensure the necessary scripts are loaded? Have you included the first line that initializes the $T variable? Even it if still does not resolve the situation please keep in mind that it cannot be guaranteed simply with overriding functions. The best approach to get IE9 support for RadWindow is upgrading to the latest version so that it supports this browser internally.


Regards,
Marin Bratanov
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
Window
Asked by
jgill
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Karl
Top achievements
Rank 1
Share this question
or