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