【问题标题】:asp.net updatepanel and validators problemasp.net updatepanel 和验证器问题
【发布时间】:2009-10-06 08:51:11
【问题描述】:

我已阅读ASP.NET Validators inside an UpdatePanel 但我仍然有这个错误: 'Page_Validators' 未定义

这是我在服务器上安装的(是否发生错误):

.net framework 2.0 服务包 2

.net framework 3.0 服务包 2

.net 框架 3.5 服务包 1

ajax 扩展 1.0

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

在我的笔记本电脑上我没有错误,我使用 .net 框架 3.5 和 sp1 运行 vista 所以我看不出有什么不同。

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

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

【问题讨论】:

    标签: asp.net ajax asp.net-ajax updatepanel


    【解决方案1】:

    我必须将更新面板中的验证器的 enableclientscript 设置为 false

    但奇怪的是,错误只发生在生产环境中

    【讨论】:

      猜你喜欢
      • 2011-06-14
      • 2010-09-07
      • 2011-05-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多