top button
Flag Notify
Site Registration

How to make sure Client Validation is enabled in ASP.Net MVC?

0 votes
394 views
How to make sure Client Validation is enabled in ASP.Net MVC?
posted Aug 27, 2016 by Sathaybama

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

In Web.Config there are tags called : "ClientValidationEnabled" and "UnobtrusiveJavaScriptEnabled". We can set the client side validation just by setting these two tags "true", then this setting will be applied at the application level.

< add key="ClientValidationEnabled" value="true" />
< add key="UnobtrusiveJavaScriptEnabled" value="true" />
answer Aug 29, 2016 by Shivaranjini
...