Webforms unobtrusivevalidationmode requires a scriptresourcemapping for ‘jquery’

In ASP.Net, in a specific situation, you may get this server error: webforms unobtrusivevalidationmode requires a scriptresourcemapping for ‘jquery’.

Error : WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for ‘jquery’. Please add a ScriptResourceMapping named jquery (case-sensitive).
Error : WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for ‘jquery’. Please add a ScriptResourceMapping named jquery (case-sensitive).

Solution:

  • Open web.config file.
  • Below <appsettings> tag, add this key  <add value="None" key="ValidationSettings:UnobtrusiveValidationMode"/>
<configuration>
<appsettings>
<add value="None" key="ValidationSettings:UnobtrusiveValidationMode"/>
</appsettings>
</configuration>

See also

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top