WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a Scrip

Posted by Sheonarayan under Error and Solution on 5/28/2014 | Points: 10 | Views : 19718 | Status : [Administrator] | Replies : 0

Problem


I was getting below error.

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


Solution


Add below appSettings to the root web.configl file to solve this error.

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


Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com



Responses

(No response found.)

Login to post response