使用AjaxControlTollkit时出错 [英] error when using AjaxControlTollkit
本文介绍了使用AjaxControlTollkit时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用AjaxControlToolkit时出现错误
这是错误:
I get an error when using AjaxControlToolkit
This is the error:
Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "AjaxControlToolkit.Properties.Resources.NET4.resources" was correctly embedded or linked into assembly "AjaxControlToolkit" at compile time, or that all the satellite assemblies required are loadable and fully signed
为什么?
why ?
推荐答案
AjaxControlToolkit的控件负载引用引用基本的System.Web.UI.Control
方法,该方法作为ASP.NET AJAX库的一部分提供.仅在页面中引用ScriptManager
或ScriptManagerProxy
时才引用这些库.
在页面中添加ScriptManager
:
AjaxControlToolkit’s control load reference refers to the baseSystem.Web.UI.Control
method which is present as a part of the ASP.NET AJAX Libraries. These libraries are referenced only when theScriptManager
orScriptManagerProxy
is referenced in the page.
AddScriptManager
in the page:
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
参考:
ASP.NET AJAX控件工具包入门 [^ ]
确保AjaxControlToolkit.特性.资源. NET4.resources已正确嵌入 [ ^ ]
Refer:
Get Started With ASP.NET AJAX Control Toolkit[^]
Make sure AjaxControlToolkit. Properties. Resources. NET4.resources was correctly embedded[^]
这篇关于使用AjaxControlTollkit时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文