How can I know when Page is ready?

2 posts, 1 answers
  1. Søren Hartig
    Søren Hartig avatar
    24 posts
    Member since:
    Apr 2008

    Posted 09 Sep 2011 Link to this post

    Together with Telerik components I'm using jQuery 1.6.2

    What I'm trying to know is if there is a client event that tells me when does all controls ready, as the page still keeps loading Telerik javascript even after jQuery Document Ready and DOM Ready.

    So I can hide the "Loading" div...

    Thank you.
  2. Answer
    Genady Sergeev
    Genady Sergeev avatar
    1595 posts

    Posted 12 Sep 2011 Link to this post

    Hello Søren Hartig,

    Please use the client-side page load event. You can subscribe to it with the following code:

    Sys.Application.add_load(function() { // this is the page load handler } );

    The client side page_load event is fired when all controls are initialized and ready to be used/manipulated.

    All the best,
    Genady Sergeev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
Back to Top