Friday, December 19, 2014

WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'

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

Here we need to disable the  unobtrusive JavaScript for client-side validation.

Solution:-

1) Add the following to the web.config file:<appSettings>
    <add key="ValidationSettings:UnobtrusiveValidationMode" value="None"/>
  </appSettings>
2) Build the solution.