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

Ribbon Bar inside of iFrame inside a kendUI Window

5 Answers 233 Views
Window
This is a migrated thread and some comments may be shown as answers.
Lars Keller
Top achievements
Rank 1
Lars Keller asked on 10 Feb 2012, 05:38 PM
Hi,

I'm trying to use a Ribbon Bar inside of an iFrame. The iFrame is hosted in a kendoUI Window.
Everything is working fine in Firefox.
In IE9 however, I'm getting a whole bunch of errors saying that some objects are undefined.

For example:

SCRIPT5009: "Array" ist undefiniert
WebResource.axd?d=nETz4_IM_aEemtqRYSzycw8SrL3cgvmF54HoMX-OCJUGuepfKRveqXGF9MKJandwWOMMNGOBlBi1o7hdVanR8smNb1jevPMSxtaa578Zrf81&t=634618768644240867, Zeile 45 Zeichen 1
SCRIPT5009: "Array" ist undefiniert
WebResource.axd?d=nETz4_IM_aEemtqRYSzycw8SrL3cgvmF54HoMX-OCJUGuepfKRveqXGF9MKJandwWOMMNGOBlBi1o7hdVanR8smNb1jevPMSxtaa578Zrf81&t=634618768644240867, Zeile 45 Zeichen 1
SCRIPT5009: "Function" ist undefiniert
Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl02_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3ade-DE%3a89093640-ae6b-44c3-b8ea-010c934f8924%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2011.3.1324.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3ade-DE%3adabb5aeb-caf3-49fd-8d54-706f88de89f2%3a16e4e7cd%3af7645509%3a24ee1bba%3aa675b4ab, Zeile 6 Zeichen 1
SCRIPT5009: "Function" ist undefiniert
Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl02_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3ade-DE%3a89093640-ae6b-44c3-b8ea-010c934f8924%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2011.3.1324.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3ade-DE%3adabb5aeb-caf3-49fd-8d54-706f88de89f2%3a16e4e7cd%3af7645509%3a24ee1bba%3aa675b4ab, Zeile 6 Zeichen 1
SCRIPT5009: "Error" ist undefiniert
CreateUserAndBookServices.aspx, Zeile 41 Zeichen 34
SCRIPT5009: "Error" ist undefiniert
CreateUserAndBookServices.aspx, Zeile 41 Zeichen 34
SCRIPT5009: "Sys" ist undefiniert
CreateUserAndBookServices.aspx, Zeile 51 Zeichen 1
SCRIPT5009: "Sys" ist undefiniert
CreateUserAndBookServices.aspx, Zeile 51 Zeichen 1
SCRIPT5009: "Telerik" ist undefiniert
CreateUserAndBookServices.aspx, Zeile 260 Zeichen 1
SCRIPT5009: "Telerik" ist undefiniert
CreateUserAndBookServices.aspx, Zeile 260 Zeichen 1
SCRIPT5009: "$telerik" ist undefiniert
CreateUserAndBookServices.aspx, Zeile 147 Zeichen 5

Any ideas?

Thanks,
Lars

5 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 13 Feb 2012, 03:26 PM
Hello,

 This problem is caused by a well known feature (or bug) of Internet Explorer 9. When you move an iframe in the DOM tree IE9 executes all JavaScript again. The problem is that IE "disposes" the iframe when it is removed from DOM. 

 We tried a few workarounds and the initial tests are promising. You can download the latest internal build which should incorporate the workaround and give it a spin.

Regards,
Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Lars Keller
Top achievements
Rank 1
answered on 13 Feb 2012, 04:07 PM
Thanks Atanas! I'll try the latest internal build version.
Lars
0
Lars Keller
Top achievements
Rank 1
answered on 14 Feb 2012, 10:02 AM
It works! Thanks for your support!
0
Lars Keller
Top achievements
Rank 1
answered on 14 Feb 2012, 10:09 AM
btw: Your internal build name is not correct. Your relase version has a 2012 in name but the internal build version a 2011. It confuses a little bit. :-)

Cheers,
Lars
0
Atanas Korchev
Telerik team
answered on 14 Feb 2012, 10:20 AM
Hello,

 Since this is an internal build for the Q3 2011 release the version should start with 2011. Unfortunately we released an internal build with 2012 in its name earlier hence the confusion. Please accept our apologies for this.

Regards,
Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Window
Asked by
Lars Keller
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Lars Keller
Top achievements
Rank 1
Share this question
or