c# – 如何将AjaxControlToolkit添加到Visual Studio 2013 Web表
它已经复杂了,我怀疑我是否可以单独处理它.目前,从一开始就包含很多项目,我不确定它们是什么以及它们是什么.
我已经将AjaxControlToolkit添加到项目中并用于设置脚本管理器: <ajaxToolkit:ToolkitScriptManager runat="server" EnablePageMethods="true" EnablePartialRendering="true" LoadScriptsBeforeUI="true" AjaxFrameworkMode="Enabled"> <Scripts> <asp:ScriptReference Name="jquery" /> <asp:ScriptReference Name="bootstrap" /> <asp:ScriptReference Name="MsAjaxBundle" /> <asp:ScriptReference Name="respond" /> <asp:ScriptReference Name="WebForms.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebForms.js" /> <asp:ScriptReference Name="WebUIValidation.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebUIValidation.js" /> <asp:ScriptReference Name="MenuStandards.js" Assembly="System.Web" Path="~/Scripts/WebForms/MenuStandards.js" /> <asp:ScriptReference Name="GridView.js" Assembly="System.Web" Path="~/Scripts/WebForms/GridView.js" /> <asp:ScriptReference Name="DetailsView.js" Assembly="System.Web" Path="~/Scripts/WebForms/DetailsView.js" /> <asp:ScriptReference Name="TreeView.js" Assembly="System.Web" Path="~/Scripts/WebForms/TreeView.js" /> <asp:ScriptReference Name="WebParts.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebParts.js" /> <asp:ScriptReference Name="Focus.js" Assembly="System.Web" Path="~/Scripts/WebForms/Focus.js" /> <asp:ScriptReference Name="WebFormsBundle" /> </Scripts> </ajaxToolkit:ToolkitScriptManager> 它看起来像ajaxToolkit已经有效,但我看到Chrome控制台中的错误. 但我看到的第一个错误是:
我在Scripts文件夹中找到了很多不同的各种脚本,没有提供AjaxControlToolkit,现在我无法理解如何解决它? 解决方法
检查此链接可能会有所帮助:
AjaxControlToolkit version 7.0123 with .NET 4.5 Microsoft JScript runtime error: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |