Asp.Net Validation - Clientside And/Or Serverside?

爷,独闯天下 提交于 2019-12-06 14:04:19

They perform both.

The validation framework that has been implemented in asp.net was designed to work both client and server side.

If you have used these validators, you do not need to write additional server side code that repeats this validation.

IIRC, they are validate on both the client and server side by default. EnableClientValidation is the property to set to disable client side validation.

You should always validate at the client and again on the server.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!