Some
time we face this error while working in asp.net.:
WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for jQuery
Description:
In
previous articles I have explained Asp.Net:
Create Error log table in SQL database in ASP.NET application using C#. And SQL: Copy full data of one table to another using SQL
command in SQL Database And SQL:
How to Create table in SQL Database.? And SQL:
How to create Database in SQL server and SQL:
How to generate script of database in SQL Server .
Click
on image to Enlarge the Image
We
can resolve this error by adding following code in web config file
in<appSetting> section:
<appSettings>
<add key="ValidationSettings:UnobtrusiveValidationMode" value="None"/>
</appSettings>
It
will resolve the error. Add this code
line in <configuration> section in <appSettings>.