asp.net updatepanel 和验证器问题

发布于 2024-08-07 06:49:53 字数 599 浏览 1 评论 0原文

我已阅读 UpdatePanel 内的 ASP.NET 验证器 但我仍然有这个错误: “Page_Validators”未定义

这是我在服务器上安装的内容(如果发生错误):

.net Framework 2.0 service pack 2

.net Framework 3.0 service pack 2

.net Framework 3.5 service pack 1

ajax 扩展 1.0

我有一个带有 ajax 1 的 2.0 解决方案,我在 Visual Studio 2008 中打开它,因此它在我的笔记本电脑上自动将其转换为 3.5,

我没有错误,我使用 .net Framework 3.5 和 sp1 运行 vista 所以我没有看到任何差异。

bin 目录中的 ajax dll 是 1.0.20229.0 我希望有帮助:)

我需要在服务器上安装和/或更新什么来解决这个问题?

i have read ASP.NET Validators inside an UpdatePanel
but i still have this error:
'Page_Validators' is not defined

here is what i have installed on the server (were the errors occur):

.net framework 2.0 service pack 2

.net framework 3.0 service pack 2

.net framework 3.5 service pack 1

ajax extensions 1.0

i have an 2.0 solution with ajax 1 which i opened in visual studio 2008 and therefore it automatically converted it to 3.5

on my laptop i don't have the error and i run vista with the .net framework 3.5 and also sp1
so i don't see any differences.

the ajax dll in the bin dir is 1.0.20229.0 i hope that helps :)

what do i need to install and/or update on the server to fix this issue?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

或十年 2024-08-14 06:49:53

我必须将 updatepanel 中的验证器的 enableclientscript 设置为 false,

但奇怪的是该错误仅发生在生产环境中

i had to set enableclientscript to false of the validators that are in the updatepanel

but it is still wierd that the error only occurs on the production environment

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文