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>
```
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>
```