UnobtrusiveValidationMode Issues on Visual Studio 2013

Problem

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

image

 

 

 

 

 

 

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

Solution

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

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

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

blog comments powered by Disqus

Translate It

About @ridife

This blog will be dedicated to integrate a knowledge between academic and industry need in Application Lifecycle Management (ALM), ICT tips, and Software Engineering Research. Enjoy this blog and let's get in touch in any social media.

Xbox

Month List