我是靠谱客的博主 彪壮云朵,这篇文章主要介绍使用VS 2017出现“WebForms UnobtrusiveValidationMode 需要“jquery”ScriptResourceMapping。”错误错误:解决方案:,现在分享给大家,希望可以做个参考。

错误:

在VS 2017使用 R e q u i r e d F i e l d V a l i d a t o r RequiredFieldValidator RequiredFieldValidator控件时出现如下错误。
在这里插入图片描述

解决方案:

  • 在Web.config中降低.Framework的版本,具体方法如下:
复制代码
1
2
3
4
5
<system.web> <compilation debug="true" targetFramework="4.6.1"/> <httpRuntime targetFramework="4.6.1"/> </system.web>
  • 更改:
复制代码
1
2
3
4
<system.web> <compilation debug="true" targetFramework="4.0"/> </system.web>

最后

以上就是彪壮云朵最近收集整理的关于使用VS 2017出现“WebForms UnobtrusiveValidationMode 需要“jquery”ScriptResourceMapping。”错误错误:解决方案:的全部内容,更多相关使用VS内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(57)

评论列表共有 0 条评论

立即
投稿
返回
顶部