1。只能将一个ScriptManager实例添加到页面2.无法找到适合指定文化或中性文化的任何资源。 [英] 1 . Only one instance of a ScriptManager can be added to the page 2. Could not find any resources appropriate for the specified culture or the neutral culture.

查看:62
本文介绍了1。只能将一个ScriptManager实例添加到页面2.无法找到适合指定文化或中性文化的任何资源。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的项目中使用ajaxcontroltoolkit.dll。我在我的母版页中使用了一个脚本管理器并尝试在我的内容页面上使用scriptmanagerproxy它显示错误只能在一个页面上定义一个ScriptManager实例。

之前我使用的是< ASP:UpdatePanel的>在我的内容页面,但我删除了它,但它仍然显示错误只能在一个页面上定义一个ScriptManager实例。



和何时我评论了这些脚本管理器和脚本管理器代理代码,它向我显示错误 -

无法找到适合指定文化或中性文化的任何资源。确保在编译时将AjaxControlToolkit.Properties.Resources.NET4.resources正确嵌入或链接到程序集AjaxControlToolkit中,或者所有所需的附属程序集都是可加载和完全签名的。



请帮我解决这个问题.....

i am using ajaxcontroltoolkit.dll in my project . i used a script manager in my master page and tried use a scriptmanagerproxy on my content page it shows the error of "Only one instance of ScriptManager can be defined on one page".
previously i was using a <asp:UpdatePanel> in my content page but i removed that also but it is still showing me the error of "Only one instance of ScriptManager can be defined on one page".

and when i commented these script manger and scriptmanager proxy codes it shows me 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.

please help me out with this problem.....

推荐答案

您是否尝试在子页面上注释掉scriptmanager?

您可以将scriptmanager保留在母版页上,但删除内容上的其他scriptmanager。然后尝试重建整个解决方案。也许这会有所帮助。
have you tried commenting out the scriptmanager on the childpage?
you can keep the scriptmanager on the master page, but remove the other scriptmanager on the content. then try to rebuild the whole solution. maybe that would help.


这篇关于1。只能将一个ScriptManager实例添加到页面2.无法找到适合指定文化或中性文化的任何资源。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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