top button
Flag Notify
Site Registration

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

0 votes
297 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

Your answer

Preview

Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
...