How to solve WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).

Introduction: In previous articles i explained How to solve the errors like Control 'GridView1' of type 'GridView' must be placed inside a form tag with runat=server and The files use a different language,which is not allowed since they need to be compiled together Solution in asp.net and The GridView 'GridView1' fired event PageIndexChanging which wasn't handled Error solution and The SelectCommand property has not been initialized before calling 'Fill' Gridview error solution and  How to Encrypt and Decrypt connectionString in web.config file using code in asp.net and How to Encrypt connection string in web.config | How to Decrypt connection string in web.config  and How to increase session timeout period in asp.net .

Description: 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 blog 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>

Now run your website and check should be working now..

Now over to you:
"If you like my work; you can appreciate by leaving your comments, hitting Facebook like button, following on Google+, Twitter, Linked in and Pinterest, stumbling my posts on stumble upon and subscribing for receiving free updates directly to your inbox . Stay tuned and stay connected for more technical updates."
Previous
Next Post »

4 comments

Click here for comments
Unknown
admin
November 23, 2015 ×

hi i'm joseph
this page has been very useful for me.
thanks

Reply
avatar
Unknown
admin
September 03, 2016 ×

People call me Addo. I tried your code and it really worked for me. THANKS ALOT

Reply
avatar
September 09, 2016 ×

Thanks for your valuable feedback..stay connected and keep reading..

Reply
avatar
September 09, 2016 ×

I am glad you found this article helpful..stay connected and keep reading for more updates.

Reply
avatar

If you have any question about any post, Feel free to ask.You can simply drop a comment below post or contact via Contact Us form. Your feedback and suggestions will be highly appreciated. Also try to leave comments from your account not from the anonymous account so that i can respond to you easily..