pageLoad() doesn't run in Chrome

2 posts, 0 answers
  1. Muzafar
    Muzafar avatar
    1 posts
    Member since:
    Jan 2013

    Posted 29 Jan 2013 Link to this post

    Hi there

    I am using the method pageLoad(), which as you know is a function that pages with an ASP.NET ScriptManager will automatically execute after ASP.NET AJAX's client-side library initializes and then again after every UpdatePanel refresh.

    I found that Chrome doesn't consistently/reliably fires pageLoad() when navigating to my webpage using the site's navigation. The method gets executed reliably when a postback happen though but not when visiting the page (could it be because it's getting cached?). This (when not executed) causes Telerik controls freeze.

    IE & Firefox are fine (consistently fires pageLoad()).

    I am using telerik:RadScriptManager as my ScriptManager.

    Any assistance with this will be much appreciated.

    Note: I am using the below in Page_Init() so that the page is not cached but still have the problem with Chrome:
                       . Response.Cache.SetCacheability(System.Web.HttpCacheability.NoCache); 
                       . Response.Cache.SetNoStore();

  2. Tsvetoslav
    Tsvetoslav avatar
    1823 posts

    Posted 01 Feb 2013 Link to this post

    Hello Muzafar,

    I have not encountered such an issue but It might as well be a caching issue with Chrome. Do try disabling the browser's cache (not the reponse's one) and see if the issue persists.

    Greetings, Tsvetoslav
    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.
Back to Top