Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Sys.WebForms.PageRequestManager is not generated when browse through CDN (Akamai)

$
0
0

Hi,

I have deployed a website using AjaxControlToolkit. Below is the sample code of inside the body in the aspx page:

<form id="form1" runat="server"><ajaxtoolkit:ToolkitScriptManager ScriptMode="Release" CombineScripts="false" ID="ctlScriptManager"
runat="server"></ajaxtoolkit:ToolkitScriptManager><div><asp:UpdatePanel ID="updatePnl1" runat="server" UpdateMode="Conditional" RenderMode="Inline"><ContentTemplate></ContentTemplate></asp:UpdatePanel></div></form>

When I browse it normally using default user agent of the browser, I can see these lines of code in the view source:

<script type="text/javascript"> 
//<![CDATA[
Sys.WebForms.PageRequestManager._initialize('ctlScriptManager', document.getElementById('form1'));
Sys.WebForms.PageRequestManager.getInstance()._updateControls(['tupdatePnl1'], [], [], 90);
//]]></script>

Then when i try to browse it through CDN (Akamai), by change the user agent of the browser to Akamai Edge, I can't see those lines of code (not generated). And also it's missing few generated javascript from ScriptResource.axd.

This problem create an error for my next code because it's calling Sys.WebForms.PageRequestManager which is not defined yet and make the error 'Sys.WebForms.PageRequestManager is null or not an object'. 

Am I missing something? or Anyone got experience with Akamai before? Does Akamai support AjaxControlToolkit?

Thanks.


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>