当我在ToolkitScriptManager上使用CombineScripts =“true”时,我得到 AJAX Control Toolkit未定义错误:
<ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" EnablePageMethods="false" ScriptMode="Release"
LoadScriptsBeforeUI="false" runat="server" CombineScripts="true">
<CompositeScript>
<Scripts>
<asp:ScriptReference Path="~/JavaScript/jquery-1.4.1.min.js" />
<asp:ScriptReference Path="~/JavaScript/Custom.js" />
</Scripts>
</CompositeScript>
</ajaxToolkit:ToolkitScriptManager>
但是当我将CombineScripts设置为false时,一切似乎都有效。为什么会这样?