Getting 'AJAX Control Toolkit is undefined' when setting the CombineScripts="true"

Posted by Kumar on Stack Overflow See other posts from Stack Overflow or by Kumar
Published on 2010-05-16T21:06:27Z Indexed on 2010/05/16 21:10 UTC
Read the original article Hit count: 325

Filed under:
|

I am getting AJAX Control Toolkit is undefined error when I have the CombineScripts="true" on the ToolkitScriptManager:

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

But when I set the CombineScripts to false everything seems to work. Why is this happening?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about ajaxcontroltoolkit