asp.net updatepanel 和验证器问题
我已阅读 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我必须将 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