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

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

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.

Xbox

Month List

Visitor