Window opened event is triggered before iframe is fully loaded

3 posts, 1 answers
  1. staron
    staron avatar
    50 posts
    Member since:
    Apr 2007

    Posted 07 May 2009 Link to this post

    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. Answer
    Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 07 May 2009 Link to this post

    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.
  3. staron
    staron avatar
    50 posts
    Member since:
    Apr 2007

    Posted 07 May 2009 Link to this post

    Thanks!
Back to Top