How to solve WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive). ?
While working on asp.net application I faced the error “WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive)”.
So I decided to post the solution to this error in my group so that other developers can get the solution easily without searching for hours on Google or other search engines.
Solution:
The error mentioned above can be easily resolved by adding the following line:
<add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
in the appSettings tag under configuration tag in web.config file as:
<configuration>
<appSettings>
<add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
</appSettings>
<!--
------
------
-->
</configuration>
<appSettings>
<add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
</appSettings>
<!--
------
------
-->
</configuration>
Comments
Post a Comment