1.

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

Answer»

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" />


Discussion

No Comment Found