Hi! It seems I stumbled upon a bug in ScriptManager or AJAX, depending on your view point. I just recently noticed that when you switch on our DNN site (v9) to German locale, the Script Manager attempts to load MicrosoftAjax.de.js instead of MicrosoftAjax.js. We have CDN enabled and Microsoft does not host such a file on their Ajax CDN web site.
Is anyone else expiriencing this problem that has CDN for Ajax enabled? Maybe it's just our upgraded site. The fix was to change this in AJAX.cs: using (var scriptManager = new ScriptManager //RadScriptManager { ID = "ScriptManager", EnableScriptGlobalization = true, SupportsPartialRendering = true }) into that:
using (var scriptManager = new ScriptManager //RadScriptManager { ID = "ScriptManager", EnableScriptGlobalization = true, SupportsPartialRendering = true, EnableScriptLocalization = false }) AFAIK there are no localized versions of MicrosoftAjax.js. This fixed the problem and now it requests the correct file. We actually got some flickering when switching between pages because of that bug and then checked in Web Developer -> Network (Firefox) to see the bad request. Maybe someone wants to open a bug for that if expiriencing the same problem on their site. Andreas
Is this working properly for anyone else? Am wondering a bit why it is including the Ajax script at all, because on the main page for example, we only have the banner and the HTML modules. Is one of those causing this? As far as I understand this process, each module can decide what it needs, right? Or is Ajax always included? Our pages run with Javascript disabled as well, therefore we did not notice it until we checked the network requests going out with the browser. The problem should occur, if you have CDN enabled (didn't try disabling it again) and you switch to a different locale. Andreas
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.