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

pageLoad() doesn't run in Chrome

1 Answer 65 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Muzafar
Top achievements
Rank 1
Muzafar asked on 29 Jan 2013, 03:53 PM
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();

Regards,
Muzafar

1 Answer, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 01 Feb 2013, 02:32 PM
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.
Tags
Ajax
Asked by
Muzafar
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Share this question
or