Could you please tell me the difference between using asp.net validator controls vs JQuery for front end validation? What happens if the user turns off javascript on their browser?
Thank you..
The difference is that "front end" validation by itself has nothing to do with security or real validation. It's entirely a performance optimization — a client validation failure saves a round trip to your server, helping you scale and allowing you to reduce the response time for your users. But the real validation work must take place server-side.
ASP.Net validation controls help you automate the server-side validation and keep it in sync with the client, while jQuery still requires you to write the server-side logic separately.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With