Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Created Unassigned: Fallback when using the CDN [28026]

$
0
0
When using the control toolkit with bundling and the CDN, there is no fallback for the CDN.
If the CDN is unavailable, the script fails to load.

As a workaround, I have inserted the code below into the master page.
Is there a better way to solve this issue?


```
<asp:ScriptManager runat="server" ScriptMode="Release" EnablePartialRendering="true" EnableScriptGlobalization="true" EnableScriptLocalization="true" EnableCdn="true" EnableCdnFallback="true">
<Scripts>
<!-- other script references -->
<asp:ScriptReference Path="~/Scripts/AjaxControlToolkit/Bundle" />
</Scripts>
</asp:ScriptManager>
<script type="text/javascript">
//<![CDATA[
(Sys.Extended) || document.write('<script type="text/javascript" src="Scripts/AjaxControlToolkit/Bundle"><\/script>');//]]>
</script>
```

Viewing all articles
Browse latest Browse all 4356

Trending Articles



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