UnobtrusiveValidationMode Issues on Visual Studio 2013


Yesterday, I created empty web template with Web Forms support through Visual Studio 2013. Unlike, the WebForms and the MVC template that works flawlessly. I got unique error as shown on figure








It is said that I need ScriptResourceMapping for jquery. It is strange that I don’t need JQUERY for this project.


After doing a search there are several options to solve the Empty Web issues on Visual Studio which are

Option 1 – If you don’t need JQUERY

If you don’t need jquery you can add this on your web.config

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

Option 2 – If you need JQUERY - Installing JQUERY using nugget

For this purpose you can read this link

Option 3 – You don’t need JQUERY but need ASP.NET WebForms Validation

For this purpose you can read this link

Add comment

  Country flag

  • Comment
  • Preview

Topics Highlights

About @ridife

This blog will be dedicated to integrate a knowledge between academic and industry need in the Software Engineering, DevOps, Cloud Computing and Microsoft 365 platform. Enjoy this blog and let's get in touch in any social media.


Month List