This is a migrated thread and some comments may be shown as answers.
Window opened event is triggered before iframe is fully loaded
2 Answers 16 Views
This is a migrated thread and some comments may be shown as answers.
staron
Top achievements
Rank 1
staron asked on 07 May 2009, 08:54 AM
Hi,
I have a js-function that sets several values into the window, that is called by the window opened event. This works fine in ie8, but in ie7 & chrome it is called before the window is fully loaded. Any suggestions on how to solve this?

2 Answers, 1 is accepted

Sort by
0
Accepted
Svetlina Anati
Telerik team
answered on 07 May 2009, 09:17 AM
Hi staron,

I am not sure what exact event you mean by "window opened event."  - in case you mean the OnClientShow event, yes, the described behavior is expected in some cases, when the content page needs more time to load. In case you need to ensure that the content page is already loaded, e.g in order to manipulate it, you should use the OnClientPageLoad event of the RadWindow which fires exactly when the IFRAME is loaded.

Sincerely yours,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
staron
Top achievements
Rank 1
answered on 07 May 2009, 09:35 AM
Thanks!
Asked by
staron
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
staron
Top achievements
Rank 1
Share this question
or