找不到适合指定文化的任何资源 [英] Could not find any resources appropriate for the specified culture

查看:58
本文介绍了找不到适合指定文化的任何资源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在使用ajax控件,只需拖动一个控件然后运行我的网站,就会出现此错误.


找不到适合于指定文化或中立文化的任何资源.确保在编译时已将"AjaxControlToolkit.Properties.Resources.resources"正确嵌入或链接到程序集"AjaxControlToolkit"中,或者确保所需的所有附属程序集都可加载并完全签名.

Hi,

I am using ajax control,just drag the one control then run my website this error is raising.


Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "AjaxControlToolkit.Properties.Resources.resources" was correctly embedded or linked into assembly "AjaxControlToolkit" at compile time, or that all the satellite assemblies required are loadable and fully signed.

How to solve this.

推荐答案

您是否已在Aspx页面中添加了ScriptManager.

< asp:ScriptManager ID ="MyScriptManager" runat ="server"> </asp:ScriptManager>

编辑-[呵呵,"pre"标签问题.删除了"pre"标签,并将其保留为简单文本. ]
Have you added ScriptManager in your Aspx Page.

<asp:ScriptManager ID="MyScriptManager" runat="server"> </asp:ScriptManager>

Edit - [ Huh, "pre" tag problem. Removed "pre" tag and kept it as a simple text. ]


asp.net Ajax控件工具包需要使用其脚本管理器而不是标准的asp.net脚本管理器进行设置,请在< Form> 下添加以下内容标签

asp.net Ajax Control Toolkit needs to be setup using its script manager and not the standard asp.net Script Manager, add following under <Form> tag

<asp:toolkitscriptmanager id="ToolkitScriptManager1" runat="server"/>


这篇关于找不到适合指定文化的任何资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆