Solution: WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for jQuery - Free Asp.Net,MVC,AngularJs,Jquery,Javascript,Sql Server,WCF,Entity framework snippets and tutorial

Solution: WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for jQuery

In this article I am going to explain how to solve the error: WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for jQuery

Description:
I have faced an error while I am working on Asp.net “WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).

This error occurs when I added the Validation control to validate the textboxes.

Solution:
To solve the error add the below given code under appSettings in web.config file.
<add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />

web.config markup:
<configuration>
  <appSettings>
    <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
  </appSettings>
</configuration>

It sorts out the issue that I faced.

I hope it should sort out the error if you faced in future.

  I hope you enjoyed this article. Please post you comment, query and feedback about this article. 

What do you think about this article?

If you found this article useful, please share and follow on Facebook, Twitter, Google Plus and other social media websites. To get free updates subscribe to newsletter. Please put your thoughts and feedback in comments section.

Share this

Share on FacebookTweet on TwitterPlus on Google+


EmoticonEmoticon