ScriptResourceMapping

If Validation Controls Are Not Working

If the validation controls on our web page do not work and an error message appears like this:

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

In our web.config file, we can fix it by adding the codes shown in red below between the configuration tags.

<configuration>
 
  <appSettings>
    <add key="ValidationSettings:UnobtrusiveValidationMode" value="none"/>
  </appSettings>
    
 
</configuration>

 

validation controls not working. WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery (case sensitive).

EXERCISES

There are no examples related to this subject.



COMMENTS




Read 1041 times.

Online Users: 124



scriptresourcemapping