When using EnableCdn="true" in the ToolkitScriptManager, the new jQuery features of AjaxControlTookit does not work.
The javascript runtime error "jQuery 1.9.1 required." is thrown by the file jQuery.Start.debug.js
The reason is that the jQuery version loaded by the ToolkitScriptManager with enablecdn="true" is 1.10.2 while the new features are waiting for 1.9.1.
I can confirm that with using a network profiler tool or by debugging the jQuery.Start.debug.js file.
You can reproduce the issue by creating a new empty ASP.NET 4.5 WebForm project with the following code Inside the form tag:
<div>
<ajaxtoolkit:toolkitscriptmanager id="SM1" runat="server" enablecdn="true">
</ajaxtoolkit:toolkitscriptmanager>
<ajaxtoolkit:tabcontainer runat="server">
<ajaxToolkit:TabPanel runat="server" HeaderText="Tab 1">
<ContentTemplate>
Test tab 1
</ContentTemplate>
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel runat="server" HeaderText="Tab 2">
<ContentTemplate>
Test tab 2
</ContentTemplate>
</ajaxToolkit:TabPanel>
</ajaxtoolkit:tabcontainer>
</div>
The javascript runtime error "jQuery 1.9.1 required." is thrown by the file jQuery.Start.debug.js
The reason is that the jQuery version loaded by the ToolkitScriptManager with enablecdn="true" is 1.10.2 while the new features are waiting for 1.9.1.
I can confirm that with using a network profiler tool or by debugging the jQuery.Start.debug.js file.
You can reproduce the issue by creating a new empty ASP.NET 4.5 WebForm project with the following code Inside the form tag:
<div>
<ajaxtoolkit:toolkitscriptmanager id="SM1" runat="server" enablecdn="true">
</ajaxtoolkit:toolkitscriptmanager>
<ajaxtoolkit:tabcontainer runat="server">
<ajaxToolkit:TabPanel runat="server" HeaderText="Tab 1">
<ContentTemplate>
Test tab 1
</ContentTemplate>
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel runat="server" HeaderText="Tab 2">
<ContentTemplate>
Test tab 2
</ContentTemplate>
</ajaxToolkit:TabPanel>
</ajaxtoolkit:tabcontainer>
</div>